karlomutschler
Programmer
Hi all,
I have created an AppFrame (GUI) by using JFrame and following code:
import javax.swing.JFrame;
public class SimpleFrame extends JFrame {
public SimpleFrame() {
super("Application Title"
;
setSize(800, 600);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
}
public static void main(String[] args) {
SimpleFrame sf = new SimpleFrame();
}
}
How do I set the following AppFrame Properties ?
Border Type None Single Double Resize
Initial Size Maximised Normal Iconized
and set the FramePosition (TopLeftCorner) to
X-Pos Center
Y-Pos Center meistertools@gmx.net
I have created an AppFrame (GUI) by using JFrame and following code:
import javax.swing.JFrame;
public class SimpleFrame extends JFrame {
public SimpleFrame() {
super("Application Title"
setSize(800, 600);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
}
public static void main(String[] args) {
SimpleFrame sf = new SimpleFrame();
}
}
How do I set the following AppFrame Properties ?
Border Type None Single Double Resize
Initial Size Maximised Normal Iconized
and set the FramePosition (TopLeftCorner) to
X-Pos Center
Y-Pos Center meistertools@gmx.net