Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I keep getting blood on my code after I copied it over to a new jframe. I am not sure what to do. // validate
I keep getting blood on my code after I copied it over to a new jframe. I am not sure what to do.
// validate the inputs if (validateInputs( ) != false ) { { return; // end the method if validation failed } // end the method if validation failed // create the Customer object and show the information Customer cust = new Customer(); cust.createCustomer(); txaOrderInfo.setText( cust.getDetails( ) ); } /** * @param args the command line arguments */ public static void main(String args[]) { /* Set the Nimbus look and feel */ // /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html */ try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); break; } } } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(Meadows_Landscaping_GUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } // //
File Edit View Navigate Source Refactor Run Debug Profile Team Tools Window Help MEADOWS LANDSCAPING - Apache NetBeans IDE 13 620.2/8800MB Search (Ctrl+I) Projects X Services Meadows_Landscaping_GUIINFO.java X Meadows Landscaping_GUI_type.java X MEADOWS LANDSCAPING Source Packages Source Design History 490 491 Customer.java 492 Meadows_Landscaping_GUI.java Meadows Landscaping_GUIINFO.java 494 Meadows Landscaping_GUI_type.java 495 dirt.jpg 496 { return; } // end the method if validation failed private void btnCalculateActionPerformed (java.awt.event.ActionEvent evt) { // validate the inputs if (validateInputs ( ) != false) { // end the method if validation failed grass.jpg 497 gravel.jpg 498 Test Packages main - Navigator X 500 501 // create the Customer object and show the information Customer cust = new Customer(); cust.createCustomer(); txaOrderInfo.setText( cust.getDetails() ); Members 502 Meadows_Landscaping_GUI_type:: JFrame 503 } Meadows_Landscaping_GUI_type() 504 btnCalculateActionPerformed (ActionEvent evt) 505 btnNextActionPerformed (ActionEvent evt) 506 * @param args the command line arguments btnSubmit OrderActionPerformed (ActionEvent evt) 507 createCustomer() initComponents() main(String[] args) 509 510 42 45 public static void main(String args[]) { /* Set the Nimbus look and feel */ Look and feel setting code (optional) Meadows_Landscaping_GUI_type> main Output - MEADOWS LANDSCAPING (run) X Deleting: C:\Users\jmead\Documents\NetBeans Projects\MEADOWS LANDSCAPING\build\built-jar.properties deps-jar: Updating property file: C:\Users\jmead\Documents\NetBeans Projects\MEADOWS LANDSCAPING\build\built-jar.properties Compiling 2 source files to C:\Users\jmead\Documents\NetBeans Projects\MEADOWS LANDSCAPING\build\classes compile: run: BUILD SUCCESSFUL (total time: 18 seconds) Type here to search 526:25 75F ^ B INS Unix (LF) 5:06 PM 4/15/2022
Step by Step Solution
★★★★★
3.43 Rating (159 Votes )
There are 3 Steps involved in it
Step: 1
Review Code for BloodRelated Imagery Meticulously inspect the code for any images icons or visual el...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