mirror of
https://gitlab.com/biskuteri-cafe/JKomasto2.git
synced 2024-11-20 06:14:50 +01:00
29 lines
446 B
Java
29 lines
446 B
Java
|
|
import javax.swing.JFrame;
|
|
import javax.swing.JPanel;
|
|
|
|
class
|
|
ComposeWindow extends JFrame {
|
|
|
|
private ComposeComponent
|
|
display;
|
|
|
|
// ---%-@-%---
|
|
|
|
ComposeWindow()
|
|
{
|
|
getContentPane().setPreferredSize(new Dimension(360, 270));
|
|
pack();
|
|
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
|
|
|
|
display = new ComposeComponent();
|
|
setContentPane(display);
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class
|
|
ComposeComponent extends JPanel { }
|