Answered step by step
Verified Expert Solution
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?
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started