Searched refs:scrollPane (Results 1 - 25 of 27) sorted by relevance

12

/openjdk7/jdk/test/javax/swing/JTextArea/6940863/
H A Dbug6940863.java41 private static JScrollPane scrollPane; field in class:bug6940863
45 boolean failed = scrollPane.getVerticalScrollBar().isShowing() ||
46 scrollPane.getHorizontalScrollBar().isShowing();
71 scrollPane = new JScrollPane(textArea);
73 scrollPane.setMinimumSize(new Dimension(200, 100));
74 scrollPane.setPreferredSize(new Dimension(300, 150));
78 frame.setContentPane(scrollPane);
/openjdk7/jdk/test/javax/swing/JViewport/7107099/
H A Dbug7107099.java38 private static JScrollPane scrollPane; field in class:bug7107099
53 scrollPane = new JScrollPane(textarea);
54 scrollPane.setPreferredSize(new Dimension(100, 50));
59 frame.add(scrollPane, BorderLayout.SOUTH);
69 BoundedRangeModel model = scrollPane.getVerticalScrollBar().getModel();
78 scrollPane.setViewportView(textarea);
89 BoundedRangeModel model = scrollPane.getVerticalScrollBar().getModel();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DExtendedPanAction.java45 private JScrollPane scrollPane; field in class:ExtendedPanAction
49 return scrollPane != null;
56 scrollPane = findScrollPane(scene.getView());
57 if (scrollPane != null) {
59 SwingUtilities.convertPointToScreen(lastLocation, scrollPane.getViewport().getView());
86 scrollPane = null;
97 if (scrollPane == null || scene != widget.getScene()) {
101 SwingUtilities.convertPointToScreen(newLocation, scrollPane.getViewport().getView());
102 Point viewPosition = scrollPane.getViewport().getViewPosition();
103 Dimension viewSize = scrollPane
[all...]
H A DBoundedZoomAction.java92 JScrollPane scrollPane = findScrollPane(scene.getView());
99 if (scrollPane != null) {
100 viewPosition = new Point(scrollPane.getViewport().getViewPosition());
166 if (scrollPane != null) {
169 scrollPane.getViewport().setViewPosition(viewPosition);
H A DDiagramScene.java118 private JScrollPane scrollPane; field in class:DiagramScene
359 scrollPane = new JScrollPane(comp);
360 scrollPane.setBackground(Color.WHITE);
361 scrollPane.getVerticalScrollBar().setUnitIncrement(SCROLL_UNIT_INCREMENT);
362 scrollPane.getVerticalScrollBar().setBlockIncrement(SCROLL_BLOCK_INCREMENT);
363 scrollPane.getHorizontalScrollBar().setUnitIncrement(SCROLL_UNIT_INCREMENT);
364 scrollPane.getHorizontalScrollBar().setBlockIncrement(SCROLL_BLOCK_INCREMENT);
365 scrollPane.getViewport().addChangeListener(scrollChangeListener);
447 return scrollPane;
/openjdk7/jdk/test/javax/swing/JLayer/6824395/
H A Dbug6824395.java40 static JScrollPane scrollPane; field in class:bug6824395
61 scrollPane = new JScrollPane(editorPaneLayer);
63 scrollPane.setPreferredSize(new Dimension(200, 250));
64 frame.add(scrollPane);
74 if (scrollPane.getViewportBorderBounds().width != scrollPane.getViewport().getView().getWidth()) {
/openjdk7/jdk/test/javax/swing/JEditorPane/6917744/
H A Dbug6917744.java43 private static JScrollPane scrollPane; field in class:bug6917744
65 scrollPane = new JScrollPane(editorPane);
67 frame.getContentPane().add(scrollPane);
84 BoundedRangeModel model = scrollPane.getVerticalScrollBar().getModel();
103 BoundedRangeModel model = scrollPane.getVerticalScrollBar().getModel();
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalScrollPaneUI.java84 public void installListeners(JScrollPane scrollPane) { argument
85 super.installListeners(scrollPane);
87 scrollPane.addPropertyChangeListener(scrollBarSwapListener);
102 public void uninstallListeners(JScrollPane scrollPane) { argument
103 super.uninstallListeners(scrollPane);
104 scrollPane.removePropertyChangeListener(scrollBarSwapListener);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifScrollPaneUI.java59 protected void installListeners(JScrollPane scrollPane) { argument
60 super.installListeners(scrollPane);
62 scrollPane.addPropertyChangeListener(propertyChangeHandler);
65 protected void uninstallListeners(JScrollPane scrollPane) { argument
66 super.uninstallListeners(scrollPane);
67 scrollPane.removePropertyChangeListener(propertyChangeHandler);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/
H A DCodeViewerPanel.java42 protected JScrollPane scrollPane; field in class:CodeViewerPanel
77 scrollPane = new JScrollPane(contentEditor);
78 bottomPanel.add(scrollPane);
/openjdk7/jdk/test/javax/swing/JTable/7068740/
H A Dbug7068740.java71 JScrollPane scrollPane = new JScrollPane(layer);
72 add(scrollPane);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DBoundedZoomAction.java91 JScrollPane scrollPane = findScrollPane(scene.getView());
100 if (scrollPane != null) {
101 viewPosition = new Point(scrollPane.getViewport().getViewPosition());
168 if (scrollPane != null) {
170 Dimension size = scrollPane.getViewport().getExtentSize();
177 scrollPane.getViewport().setViewPosition(viewPosition);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DScrollPaneLayout.java474 JScrollPane scrollPane = (JScrollPane)parent;
475 vsbPolicy = scrollPane.getVerticalScrollBarPolicy();
476 hsbPolicy = scrollPane.getHorizontalScrollBarPolicy();
512 Border viewportBorder = scrollPane.getViewportBorder();
597 JScrollPane scrollPane = (JScrollPane)parent;
598 vsbPolicy = scrollPane.getVerticalScrollBarPolicy();
599 hsbPolicy = scrollPane.getHorizontalScrollBarPolicy();
617 Border viewportBorder = scrollPane.getViewportBorder();
698 JScrollPane scrollPane = (JScrollPane)parent;
699 vsbPolicy = scrollPane
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DRegisterPanel.java118 JScrollPane scrollPane = new JScrollPane(table);
119 add(scrollPane, BorderLayout.CENTER);
H A DThreadListPanel.java199 JScrollPane scrollPane = new JScrollPane(table);
200 add(scrollPane, BorderLayout.CENTER);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DProcessListPanel.java123 JScrollPane scrollPane = new JScrollPane(table);
124 add(scrollPane, BorderLayout.CENTER);
H A DObjectListPanel.java76 JScrollPane scrollPane = new JScrollPane(table);
77 add(scrollPane, BorderLayout.CENTER);
H A DInspector.java283 JScrollPane scrollPane = new JScrollPane(tree);
286 add(scrollPane, BorderLayout.CENTER);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DJDBMenuBar.java148 JScrollPane scrollPane = new JScrollPane(list);
149 contents.add(scrollPane);
/openjdk7/jdk/test/javax/swing/JTable/7055065/
H A Dbug7055065.java171 JScrollPane scrollPane = new JScrollPane(table);
172 newContentPane.add(scrollPane);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicScrollPaneUI.java727 JScrollPane scrollPane = (JScrollPane)e.getSource();
728 boolean ltr = scrollPane.getComponentOrientation().isLeftToRight();
732 scroll(scrollPane, SwingConstants.VERTICAL, -1, true);
735 scroll(scrollPane, SwingConstants.VERTICAL, 1, true);
738 scrollHome(scrollPane);
741 scrollEnd(scrollPane);
744 scroll(scrollPane, SwingConstants.VERTICAL, -1, false);
747 scroll(scrollPane, SwingConstants.VERTICAL, 1, false);
750 scroll(scrollPane, SwingConstants.HORIZONTAL, ltr ? -1 : 1,
754 scroll(scrollPane, SwingConstant
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DClassTab.java135 JScrollPane scrollPane = new JScrollPane(details);
136 scrollPane.setPreferredSize(new Dimension(0, 150));
137 bottomPanel.add(scrollPane, BorderLayout.SOUTH);
/openjdk7/jdk/src/share/demo/management/JTop/
H A DJTop.java108 JScrollPane scrollPane = new JScrollPane(table);
111 add(scrollPane);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXSheet.java689 JScrollPane scrollPane = new JScrollPane(textArea);
690 Dimension d = scrollPane.getPreferredSize();
692 scrollPane.setPreferredSize(new Dimension(400, 250));
694 message = scrollPane;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTextAreaPeer.java1036 protected void installListeners(JScrollPane scrollPane) { argument
1037 super.installListeners(scrollPane);
1039 scrollPane.addPropertyChangeListener(propertyChangeHandler);
1050 protected void uninstallListeners(JScrollPane scrollPane) { argument
1051 super.uninstallListeners(scrollPane);
1052 scrollPane.removePropertyChangeListener(propertyChangeHandler);

Completed in 507 milliseconds

12