Package open.dolphin.ui

Examples of open.dolphin.ui.MyJScrollPane


    public StampTreePanel(StampTree tree) {

        this.stampTree = tree;
//pns   JScrollPane scroller = new JScrollPane(stampTree);
        JScrollPane scroller = new MyJScrollPane(stampTree);

        this.setLayout(new BorderLayout());
        this.add(scroller, BorderLayout.CENTER);

        String treeEntity = stampTree.getEntity();
View Full Code Here


            mode = EditorMode.EDITOR;
            editor.setContext(EditorFrame.this);
            editor.initialize();
            editor.start();
//pns^      scroller = new JScrollPane(editor.getUI());
            scroller = new MyJScrollPane(editor.getUI());
            scroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);
//pns$
            mediator.enabledAction(GUIConst.ACTION_NEW_KARTE, false);
            mediator.enabledAction(GUIConst.ACTION_NEW_DOCUMENT, false);
View Full Code Here

        imageRenderer.setHorizontalAlignment(SwingConstants.CENTER);
        imageTable.setDefaultRenderer(java.lang.Object.class, imageRenderer);
       
        this.setLayout(new BorderLayout());
//pns   JScrollPane scroller = new JScrollPane();
        JScrollPane scroller = new MyJScrollPane();

        if (showHeader) {
            scroller.setViewportView(imageTable);
            this.add(scroller);
        } else {
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(imageTable);
            scroller.setViewportView(panel);
            this.add(scroller);
        }
//        if (showHeader) {
//            this.add(new JScrollPane(imageTable));
//        } else {
View Full Code Here

                    columnWidth[i]);
        }
    }
   
    public JScrollPane getScroller() {
        return new MyJScrollPane(table);
    }
View Full Code Here

        setLayout(new BorderLayout(0,0));
       
        JPanel northPanel = createNorthPanel();
        tableModel = createTableModel();
        table = createTable();
        MyJScrollPane scroller = new MyJScrollPane(table);
        scroller.isPermanentScrollBar = true;
        AdditionalTableSettings.setOrderTable(table);
       
        this.setBorder(BorderFactory.createTitledBorder(""));
        this.add(northPanel, BorderLayout.NORTH);
View Full Code Here

        private static final long serialVersionUID = 1L;
       
        public EditorPanel() {
            initComponents();
           
            MyJScrollPane soaScrollPane = new MyJScrollPane();
            soaScrollPane.setViewportView(soaTextPane);
            soaScrollPane.setHorizontalScrollBarPolicy(MyJScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            soaScrollPane.setVerticalScrollBarPolicy(MyJScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
           
            MyJScrollPane pScrollPane = new MyJScrollPane();
            pScrollPane.setViewportView(pTextPane);
            pScrollPane.setHorizontalScrollBarPolicy(MyJScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
            pScrollPane.setVerticalScrollBarPolicy(MyJScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
           
            textPanePanel.add(soaScrollPane);
            textPanePanel.add(pScrollPane);
           
            setLayout(new BorderLayout(0,0));
View Full Code Here

TOP

Related Classes of open.dolphin.ui.MyJScrollPane

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.