All Packages This Package Class Hierarchy Class Search Index
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----jkp.awt.FrameFix
| Summary |
public abstract class FrameFix
extends java.awt.Frame
{
// Constructors 2
public FrameFix();
public FrameFix(String);
// Methods 1
public Dimension getPreferredSize();
}
Corrects a bug in JDK1.1.x's AWT Frame peer.
I'm pretty sure the layout managers fail to take into account the MenuBar if there is one. It may just be a faulty implementation of the FramePeer in the Win95 AWT, or it may be a bigger problem. [I'm curious as to why MenuComponents don't subclass Components???]
This is bug 4068386.
| Cross Reference |
| Constructors |
· FrameFix | Summary | Top |
public FrameFix()
Constructs a new FrameFix.
· FrameFix | Summary | Top |
public FrameFix(String title)
Constructs a new FrameFix with the specified title.
Parameter Description title The title for this frame.
| Methods |
· getPreferredSize | Summary | Top |
public Dimension getPreferredSize()
Override getPreferredSize() to make correction to JDK/AWT.
- Returns:
- The preferred size of this frame.
- Overrides:
- getPreferredSize in class Container
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7