-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.1.4
-
x86
-
windows_95
Name: rm29839 Date: 11/12/97
We are using something like this:
import java.awt.Frame;
import java.awt.event.WindowEvent;
import java.awt.event.WindowAdapter;
public class BugTest extends Frame
{
public BugTest()
{
super();
this.setSize(30,400);
this.setVisible(true);
this.addWindowListener(new CloseWindow());
}
public static void main(String args[])
{
new BugTest();
}
public class CloseWindow extends WindowAdapter
{
public void windowClosing(WindowEvent e)
{
((Frame) e.getSource()).dispose();
System.exit(0);
}
}
}
We want to make something like a Toolbar. This Toolbar will be the "Main menu" of our aplication.
But, we want to put small buttons inside it.
It is impossible. We can't make a Frame with a small width. There is a minimum size of Frame ?
(Review ID: 19618)
======================================================================
- duplicates
-
JDK-4038769 No way to create a frame without decorations.
-
- Closed
-