Java Code Examples for javax.swing.plaf.InternalFrameUI

The following examples show how to use javax.swing.plaf.InternalFrameUI. These examples are extracted from open source projects. 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
/**
 * 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
/**
 * 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);
        }
    });
}