Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am having trouble getting the radio button to turn on in the modifypartcontroller. I wrote the code similar to to AddPart Controller and works

I am having trouble getting the radio button to turn on in the modifypartcontroller. I wrote the code similar to to AddPart Controller and works fine when adding the part to the inventory system. But when I go to update the selected part, it grays out, not allowing me to update type of part. Any suggestions?

image text in transcribed

image text in transcribed

Source History -97529 PBB O W- public class ModifyPartController implements Initializable { FXML private Label modifyPartSourceLabel; FXML private TextField modifyPartMax; FXML private TextField modifyPartMin; FXML private TextField modifyPartName; FXML private TextField modify Part Source: FXML private TextField modify PartPrice; FXML private TextField modify Part Inventory; @FXML private TextField modify PartID; FXML private RadioButton modifyPartinHouseSourced; FXML private RadioButton modifyPartout SourcedFromCompany; FXML private Button modifyPartSave; FXML private void updateinHouseSourcedPart (ActionEvent event) { updateinHouseSourcedPart(); 53 @ FXML private void modifyPartout SourcedFromCompany (ActionEvent event) { modify Part SourceLabel.setText ("Company Name."); private void updateinHouseSourcedPart() { partIsout SourcedFromCompany = false; modify Partout SourcedFromCompany.setSelected(false); modify PartinHouse Sourced.setSelected (true); modifyPart SourceLabel.setText ("Machine ID"); modifyPart Source.setPrompt Text ("Machine ID"); 66 @FXML private void updateoutsourcedFromCompanyPart (ActionEvent event) { Output - Inventory Management System 3000 (jfxsa-run) X MODIFY PART IN HOUSE OUTSOURCED AUTO GENERATE NAME PART NAME INVENTORY INVENTORY PRICE / COST PRICE / COST MAX MAX Min MIN COMPANY NAME COMPANY NAME SAVE CANCEL

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago