There might be a solution but it would be platform-dependent. Does that matter to you?
Main Topics
Browse All TopicsCan I remove the title bar of a JFrame ? also is there any way to remove the functionalities of minimize,maximize buttons.Also the problem I facing is this. When I add some Swing Text Componenents into a JWindow the Caret is not shown and issuing the requestFocus() to any of these text components will stop focus traversal when we press TAB key. The problem is not there with JFrame. But my application doesn't need a title bar. very urgent. Can anyone help me.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
EE doesnt allow me to post long code I will try to do it in 2 comments
I wasnt aware of this so I tried it out and found the same problem.
I looked at the bug database and found:
http://developer.java.sun.
This is apparently fixed in a non public release (a lot of help that is to you now). Hopefully its 1.3.1 (Merlin was 1.3 wasnt it?) and not 1.4.
This has a pure java workaround that seems to work well (for my test case).
http://developer.java.sun.
Heres the test case. Keep in mind the FocusWindow class is not mine. I havent looked into what exactly is being overwritten in the JWindow class (it may cause other problems).
public class WindowTest {
private static JTextField[] tf = new JTextField[9];
public static void main(String args[]) {
FocusWindow test = new FocusWindow(true);
JPanel contentPane = new JPanel();
contentPane.setLayout(new BorderLayout(5,5));
JPanel main = new JPanel();
main.setLayout(new GridLayout(3,3,20,20));
for (int i=0;i<9;i++) {
tf[i] = new JTextField();
main.add(tf[i]);
}
JButton button = new JButton("Close Me");
button.addActionListener(n
public void actionPerformed(ActionEven
System.exit(0);
}
});
contentPane.add(BorderLayo
contentPane.add(BorderLayo
test.setContentPane(conten
test.setSize(400,300);
Dimension size = Toolkit.getDefaultToolkit(
test.setLocation(size.widt
test.setVisible(true);
}
}
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
[Points split between conick and omry_y.]
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Imran Zahid
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: girionisPosted on 2001-02-02 at 05:08:22ID: 5805864
No you cannot remove it but you can delete the title or set your own one.
Use: super(<your title here>); in the constructor of your application in order to do it.
Hope this helps.