错误对齐的组件是JSplitPane、JTableHeader和JTable。创建它的代码如下: JSplitPane sp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, new JScrollPane(tblItems));sp.setDividerLocation(75);
Box pnlInvoices
我有一个JFrame,它的JSplitPane是OneTouchExpandable。我想记住JSplitPane在JFrame上的最后一个分区位置,如果JFrame被重新打开,那么就释放和恢复这个位置。splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, new JLabel( "left Component" ), new JLabel(splitPane.getLeftComponent().setMinimumSize(new Dimen