Related questions
Set JFrame to center of Screen in NetBeans
I am developing a java swing desktop application
with NetBeans and I want to set the JFrame to the centre of the screen.
from the net I understand that I can use
setLocationRelativeTo(null);
to set the frame to the …
adding JRadioButton to RadioButton group
Good day
Would like to know how to add radiobuttons to a ButtonGroup by dragging and dropping components on to the frame.
JRadioButton male = new JRadioButton("Male");
JRadioButton female = new JRadioButton("Female");
ButtonGroup bg = new ButtonGroup();
bg.add(male);
bg.…
How to change jdesktoppane default background image?
How to change jdesktoppane background image in MDI (Multiple Documents interface) using java netbeans? Means I added the jdesktoppane to java MDI so now I want to change default background image of that jdesktoppane which I'm using in java MDI. …