Code example for JLabel

Methods: setVisible

0
 
    /** 
     * Hides the resize handle. 
     */ 
    public void hideResizeHandle() { 
        fSplitterHandle.setVisible(false);
    } 
     
    // Mouse handler for splitter control widget. ///////////////////////////////////////////////// 
 
    protected class SplitterHandleMouseMovementHandler extends MouseAdapter
            implements MouseMotionListener {
 
        private int fDelta;
 
        @Override 
        public void mousePressed(MouseEvent e) {
            MouseEvent convertedEvent =
                    SwingUtilities.convertMouseEvent(fSplitterHandle, e, fSplitPane);
 
Experience pair programming with AI  Get Codota for Java