What is the best library to use in Java for a simple layout.
Here is an image of what I am wanting to have on the form.
I am looking for the most simplest layout library, that also has good positioning features.
What is the best library to use in Java for a simple layout.
Here is an image of what I am wanting to have on the form.
I am looking for the most simplest layout library, that also has good positioning features.
See the Nested Layout Example for ideas about how to combine layouts to create the required layout.
I'm assuming that you want to use Java Swing since you named your components with a J.
The outer JPanel could use a BorderLayout. The JList would be inside of a JScrollPane. The JScrollPane would be in the center, the radio button panel would be in the west, and the Jbutton would be in the south.
The radio button panel would use a GridBagLayout to get the buttons to be the same size and so you can specify the pixel spacing (insets) between the radio buttons. This panel would be placed inside another JPanel with a FlowLayout to keep the radio buttons from spreading out and taking up the whole panel.
Read this interesting article, Sudoku Solver Swing GUI, for more information on how to layout a Swing GUI.
Use Swings.And IDE you can prefer NetBeans as in netbeans you can drag and drop to create UI,which is quite easy compare to coding