lab10
This commit is contained in:
18
lab/lab10/Question3/Start.java
Normal file
18
lab/lab10/Question3/Start.java
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Answer to question.
|
||||
*
|
||||
* - Q: Also use the mouse to resize the frame and check what happens with the components.
|
||||
*
|
||||
* - A: The frame is resized and the components are repositioned.
|
||||
*/
|
||||
public class Start {
|
||||
public static void main(String[] args) {
|
||||
// Dispather
|
||||
javax.swing.SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
new MyFrame();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user