List of usage examples for javax.swing JSplitPane setEnabled
@BeanProperty(expert = true, preferred = true, visualUpdate = true, description = "The enabled state of the component.") public void setEnabled(boolean enabled)
From source file:com.ixora.rms.ui.RMSFrame.java
/** * Resets the current view./*from ww w .jav a 2 s . c o m*/ * * @return true if the current view vetoed the close request */ protected boolean resetCurrentView() { boolean veto = super.resetCurrentView(); if (veto) { return true; } JSplitPane p = getJSplitPane(); p.setLeftComponent(null); p.setEnabled(false); p.setRightComponent(getJDesktopPane()); setTitle(MessageRepository.get(Msg.TITLE_FRAME_RMS)); fDirtySession = false; return false; }