本文整理了Java中javax.swing.JPanel.setAutoscrolls()
方法的一些代码示例,展示了JPanel.setAutoscrolls()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPanel.setAutoscrolls()
方法的具体详情如下:
包路径:javax.swing.JPanel
类名称:JPanel
方法名:setAutoscrolls
暂无
代码示例来源:origin: stackoverflow.com
JPanel test = new JPanel();
test.setPreferredSize(new Dimension( 2000,2000));
JScrollPane scrollFrame = new JScrollPane(test);
test.setAutoscrolls(true);
scrollFrame.setPreferredSize(new Dimension( 800,300));
this.add(scrollFrame);
代码示例来源:origin: org.cytoscape/swing-application-impl
mainPanel.setAutoscrolls(true);
algorithmPanel.setAutoscrolls(true);
algorithmPanel.setLayout(new GridBagLayout());
mainPanel.add(algorithmPanel);
代码示例来源:origin: ontop/ontop
pnlMappingManager.setAutoscrolls(true);
pnlMappingManager.setPreferredSize(new java.awt.Dimension(400, 300));
pnlMappingManager.setLayout(new java.awt.BorderLayout());
代码示例来源:origin: ontop/ontop
pnlDataSourceParameters.setAlignmentX(5.0F);
pnlDataSourceParameters.setAlignmentY(5.0F);
pnlDataSourceParameters.setAutoscrolls(true);
pnlDataSourceParameters.setFocusable(false);
pnlDataSourceParameters.setMaximumSize(new java.awt.Dimension(32767, 23));
代码示例来源:origin: robward-scisys/sldeditor
if (useScrollFrame) {
scrollFrame = new JScrollPane(containingPanel);
containingPanel.setAutoscrolls(true);
代码示例来源:origin: robward-scisys/sldeditor
p.setAutoscrolls(true);
内容来源于网络,如有侵权,请联系作者删除!