-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.3.0
-
x86
-
windows_nt
Name: skT88420 Date: 10/15/99
1. Steps to reproduce the problem.
Just run the source code provided.
2. SOURCE CODE:
import javax.swing.*;
public class titleBug extends JFrame {
public titleBug() {
setTitle("very very very very long Frame Title");
setBounds(30, 30, 200, 300);
JInternalFrame frame = new JInternalFrame("very very very very long InternalFrame Title", true, true, true, true);
frame.setSize(150, 200);
frame.setLocation(30, 30);
frame.setVisible(true);
JDesktopPane desktop = new JDesktopPane();
desktop.add(frame);
setContentPane(desktop);
}
public static void main(String[] args) {
titleBug window = new titleBug();
window.setVisible(true);
}
}
3. The error is:
When the title text of the internal frame should be truncated
and followed by "...", just like the JFrame.
This is how a MDI child window behaves in MS File Manager.
5. Version: JDK-1.2.2-W
(Review ID: 96622)
======================================================================
- duplicates
-
JDK-4134077 Metal,Window:If JInternalFrame's title text is long last must be ellipsis
-
- Closed
-