1. is it possible to change titlebar color of JFrame or JInternalFrame stackoverflow.comI am trying to change title bar color.but it dosen't work |
2. Custom Java Window Title Bar Menu stackoverflow.comI'm trying to allow the user to change the title of a window in Java without adding components to the window itself. I'm actually trying this with a |
3. hiding title bar of JInternalFrame? -java stackoverflow.comI found some code online, I editted it a bit. I want to hide title bar of JInternalFrame.
|
4. How to get JInternalFrame Titlebar properly styled by Insubstantial stackoverflow.comI have a problem with the style of JInternalFrames under Insubstantial 7.0. I'm working with Eclipse and WindowBuilder for Swing. In the Widowbuilder Preview, JInternalFrames, that are dropped to a DesktopPane, ... |
5. JInternalFrame TitleBar Modify coderanch.comOK... looks like what I did was set a DesktopManager like the following on my JDesktopPane... class MyDesktopManager extends DefaultDesktopManager { public void iconifyFrame( JInternalFrame f ) { super.iconifyFrame( f ); f.getDesktopIcon().setVisible( false ); } public void deiconifyFrame( JInternalFrame f ) { f.getDesktopIcon().setVisible( true ); super.deiconifyFrame( f ); } } I added a property to my JDesktopPane also, I called it ... |
6. Popup on titlebar of JInternalFrame coderanch.comHi folks, I have a rather peculiar need in a JInternalFrame subclass to be able to react to right-mouse-button clicks on the titlebar (and presses) by displaying a context menu (JPopupMenu). I've gone through the typical path to locate the titlebar and can get my popup to display through a mouselistener; but it immediately disappears when I release the mouse (I ... |
7. JInternalFrames TitleBar color coderanch.com |
8. how to customize the title bar of a JInternalFrame coderanch.comKeristufer, I don't know of a way to do this using a specific API call. I believe (someone pls correct me if i'm wrong), this falls into the class of a Look and Feel change. On that topic I can give you more info than you probably want: (1) you can write a custom LAF (2) you can play 'home alchemist' ... |
9. JInternalFrame title bar coderanch.comSo if they leave it open, what happens to it when they continue working? Does it go behind the focused window? What happens if a lot of these are open? No offense, but I wouldn't do that. There are certain conventions that users of GUI apps expect. To go against these conventions just makes your app a bit more difficult to ... |
10. Refreshing JInternalFrame's titlebar UI coderanch.comHi, I would like to change font properties of a title bar in JInternalFrame (that actually is on the screen) so I am calling: UIManager.put("InternalFrame.titleFont",this.cellsTitleFont); iframe.updateUI(); IFrame is dynamically refreshed (font changed) and everything seems to be allright.. Unfortunately updateUI() method removes my mouse listeners from the title bar. My questions are: 1) is any other way to refresh internal frame ... |
11. JInternalFrame-getting rid of the title bar(Urgent) coderanch.com |
12. How to change JInternalFrame's Title Bar height ? coderanch.comimport javax.swing.JComponent; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JInternalFrame; import javax.swing.UIManager; import javax.swing.plaf.basic.BasicInternalFrameTitlePane; import javax.swing.plaf.basic.BasicInternalFrameUI; public class RunMe extends JFrame { public RunMe() { this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); this.setBounds(10, 10, 800, 600); JDesktopPane dp = new JDesktopPane(); JInternalFrame jif = new JInternalFrame("test", true, true, true, true); jif.setBounds(10, 10, 200, 200); dp.add(jif); jif.setVisible(true); //JComponent c = (BasicInternalFrameTitlePane)((BasicInternalFrameUI) jif.getUI()).getNorthPane(); //c.setSize(c.getWidth(), 50); //UIManager.put("InternalFrame.titlePaneHeight", new Integer(50)); this.add(dp); this.setVisible(true); } ... |
13. Ugly white space around ImageIcons placed on JInternalFrame Title Bar coderanch.com |
14. How to get a reference to a JInternalFrame's title bar? java-forums.orgI would like to be able to perform hit detection on a JInternalFrame's title bar. I'm developing an application for a specialized input device, and having mouse dragging doesn't meet my requirements. I have a listener that gives me the coordinates of an input, and, based on those coordinates, I would like to be able to see if I have hit ... |