javax.swing.plaf.InternalFrameUI Java Examples

The following examples show how to use javax.swing.plaf.InternalFrameUI. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JInternalFrameOperator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Maps {@code JInternalFrame.getUI()} through queue
 */
public InternalFrameUI getUI() {
    return (runMapping(new MapAction<InternalFrameUI>("getUI") {
        @Override
        public InternalFrameUI map() {
            return ((JInternalFrame) getSource()).getUI();
        }
    }));
}
 
Example #2
Source File: JInternalFrameOperator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Maps {@code JInternalFrame.setUI(InternalFrameUI)} through queue
 */
public void setUI(final InternalFrameUI internalFrameUI) {
    runMapping(new MapVoidAction("setUI") {
        @Override
        public void map() {
            ((JInternalFrame) getSource()).setUI(internalFrameUI);
        }
    });
}