Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

i try to install the java builder and java swing but it give me this message!! N

ID: 3916911 • Letter: I

Question

i try to install the java builder and java swing but it give me this message!!

Note " i removed what i did and went to eclipse site and download the new vergion of the system and i face the same problem "

Could you let me know how i can fix that please!?

workspace - Java - BankGroject/src/BankMenujava - Eclipse File Edit Source Refactor Navigate Search Project Run Window Help Quick Access| . | Package Explorer X BankMenu java B ) Welcome X (Objects, Classes, and Aggregation BankGroject WindowBuilder was not able to show the GUI. Please read the description below and look bug tracking system or discussion group for more information. Press Create Repor... .button and create a new issue if you were not able to found the similar Get an overview of the features D BankPiject Unknown GUI toolkit EXAM3 Tutorials Go through tutorials The parser parsed the compilation unit, but can't identify any GUI toolkit, so WindowBuilder can't Lab2a Lab2Tim Lab6 LAB7 Lapl display any GUI to edit. This can be caused by one of the following reasons: This class is not an editable UI class and contains no UI components. Samples Try out the samples WindowBuilder does not recognize the GUI toolkit or library used in this class WindowBuilder does not understand this GUI type/pattern in a supported GUI toolkit. * Problems exist with the classpath. For example, the compilation unit uses SWT classes, but the Project2013 SWT/JFace libraries are not included into the classpath. What's New Find out what is new bProject2DS Show stack trace. Project3DS bProjectDS DProjectDSA eclipse ? TaskCh2 d Create Report.. Reparse Switch to code Source Design Problems lavadocDeclaration Console 11:14 18

Explanation / Answer

Below are the possible reason for error.

1. Check have you opened the compilation unit without having any GUI, like empty class or data bean

2. Have you included all the required libraries

3. verify the class path of the Project, if there is any typo, then also you'll get this issue.

4. Check whether the toolkit that you've installed was compatible with your windows version

5. Try click the "Show UI toolkits" to get the new toolkit, make sure it was correct.

When I got the same issue, I've used the following code to fix it. It was web reference. After confirming all the above steps, try use the following code.

public class X{ // Use your own class name

  public static void main(String[] args) { // It is for main

JFrame f = new JFrame("A JFrame"); // regarding the frame

f.setSize(250, 250); // setting the size

   f.setLocation(300,200); // Location

   f.getContentPane().add(BorderLayout.CENTER, new JTextArea(10, 40)); // content pane detail

   f.setVisible(true); // setting the visiblity

  }

}