|
Quick Lists
|
|
Bug ID:
|
4092472
|
|
Votes
|
1
|
|
Synopsis
|
Frames - Defining a frame with small width
|
|
Category
|
java:classes_awt
|
|
Reported Against
|
1.1.4
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4038769,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4038769
|
|
Submit Date
|
12-NOV-1997
|
|
Description
|
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)
======================================================================
|
|
Work Around
|
======================================================================
|
|
Evaluation
|
N/A
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |