[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Frame without TitleBar

Posted on 2001-08-17
3
Medium Priority
?
953 Views
Last Modified: 2013-11-23
Hai JAVA guys,

Can we create A frame(either it is AWT or Swing)without title bar or such type of window without title bar.thanks in advance.

Basha
0
Comment
Question by:shaikchanbasha
[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
3 Comments
 
LVL 1

Expert Comment

by:shekoff
ID: 6397061
Try to use Window class !
The window not contain a tittle bar !
Regards
0
 
LVL 1

Accepted Solution

by:
sey7 earned 300 total points
ID: 6397779
Hello,

You have two examples here:

--------------AWT------------

import java.awt.*;
public class WindowEx extends Window {
  public WindowEx() {

    super(new Frame());
    Label    l = new Label("JWindow");
    add(l);
    setBounds(100, 100, 300, 300);
    setVisible(true);
  }
  public static void main(String[] args) {
       WindowEx w = new WindowEx();
  }
}




------------Swing--------------


import javax.swing.*;
public class JWindowEx extends JWindow {
  public JWindowEx() {

    super();
    JLabel    l = new JLabel("JWindow");
    getContentPane().add(l);
    setBounds(100, 100, 300, 300);
    setVisible(true);
  }
  public static void main(String[] args) {
       JWindowEx w = new JWindowEx();
  }
}


Best Regards,

            sey.
0
 

Author Comment

by:shaikchanbasha
ID: 6405182
Hai sey7 thank you for ur help.

Basha
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

656 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