-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
x86
-
windows_nt, windows_2000
Name: rmT116609 Date: 10/30/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
When using Windows look and feel, JSplitPane divider size is too small - you
can't make out the arrows. Here is a test program:
package javatests;
import javax.swing.JFrame;
/**
* Title:
* Description:
* Copyright: Copyright (c)
* Company:
* @author
* @version 1.0
*/
import javax.swing.*;
import javax.swing.table.*;
public class SimpleSplitPane extends JFrame {
public SimpleSplitPane() {
super("SimpleSplitPane");
setSize(450,400);
JPanel panel = new JPanel();
panel.add(new JButton("test"));
JTable table = new JTable(new DefaultTableModel());
JSplitPane split = new JSplitPane(JSplitPane.VERTICAL_SPLIT,
false, panel, table);
split.setOneTouchExpandable(true);
//split.setDividerSize(10);
getContentPane().add(split);
}
public static void main(String[] args) {
try {
UIManager.setLookAndFeel ("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
}
catch (Exception ex) { ex.printStackTrace(); };
SimpleSplitPane split = new SimpleSplitPane();
split.setVisible(true);
}
}
(Review ID: 111580)
======================================================================
- duplicates
-
JDK-4420757 JHelp looks awkward in Windows look and feel
-
- Closed
-