[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to remove minimize maximize and close buttom from jframe

Posted on 2013-06-20
4
Medium Priority
?
361 Views
Last Modified: 2013-07-05
I have an class where i am extending JFrame.
I want that the minimize, mazimize and close button should not come.
0
Comment
Question by:searchsanjaysharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
krakatoa earned 1000 total points
ID: 39261836
import javax.swing.*;
import java.awt.*;

class Jf extends JFrame{

public static void main(String[] args){

Jf f= new Jf();

f.setSize(new Dimension(200,200));
f.setUndecorated(true);
f.setVisible(true);


}

}

Open in new window

0
 

Author Comment

by:searchsanjaysharma
ID: 39262000
Its removing all.

Secondly what if the Jframe extended and it has been pick from the toolkit from netbeans.,
0
 
LVL 16

Expert Comment

by:krakatoa
ID: 39262047
Its removing all.

Don't think you can do it any other way - all or nothing.
0
 

Author Closing Comment

by:searchsanjaysharma
ID: 39301307
tx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question