2647-Tabs now scroll correctly when made too small for content

This commit is contained in:
William Schaefer 2017-05-16 16:33:35 -04:00
parent 44c5f07fba
commit 11c5954102

View File

@ -74,7 +74,7 @@ public class DataContentPanel extends javax.swing.JPanel implements DataContent,
}
viewers.add(new UpdateWrapper(dcv));
jTabbedPane1.addTab(dcv.getTitle(), null,
dcv.getComponent(), dcv.getToolTip());
new javax.swing.JScrollPane(dcv.getComponent()), dcv.getToolTip());
}
// disable the tabs