Solved

need help with JWindow

Posted on 2003-11-27
10
480 Views
Last Modified: 2013-11-23
hello guys,

i need some sort of urgent help with a jwindow.

i want to create a jwindow such that the window will cover the whole screen including the task bar.

what i did was i set the size of the jwindow to be more than the size of my screen resolution. But the problem is that the task bar is always in front of it.

i need help urgently.

thanks in advance.
0
Comment
Question by:josiah007ng
[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
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 9830768
Not sure if that's possible without JNI
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9830800
yeah, you'd need to use JNI, OR you *could* use Java3d to create a fullscreen window...

This would be a complete hack though...
0
 
LVL 7

Expert Comment

by:grim_toaster
ID: 9830966
Or select the option to not keep the taskbar on top of other open windows (right click on the taskbar, etc.)!  But, perhaps not what you're after!
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 24

Accepted Solution

by:
sciuriware earned 50 total points
ID: 9831569
Just with JAVA (SWING) :

         JWindow w = new JWindow();
         w.setSize(Toolkit.getDefaultToolkit().getScreenSize());  // That's NOT maximized, but covering the screen!
         w.show();
... all your screen is grey ...

Hope you like it,
;JOOP!
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9831612
Doesn't work for me...
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 9831715
Funny: those 3 lines (only) of code do the trick on my laptop:
JAVA 1.4.2
Windows2000 with all servicepacks.

josiah007ng, how are you?

;JOOP!
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9831819
I'm on Linux, so I'm not going to try :-)
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 9831902
This evening I will try on LINUX too, patience please .....
;JOOP!
0
 
LVL 92

Expert Comment

by:objects
ID: 9833697
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 9839360
Well, I tried on SuSE 7.3 and as CEHJ said, the "kicker" taskbar was not obscured .....
.... till I clicked the gray area!

Then my whole screen was grey, but ... I had to logout, because I forgot to set an EXIT-hook on the application.
So, glad that josiah007ng got his things working, but for myself: no more entire screens.
;JOOP!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 46
How to convert from xls to xlsx using java 7 169
how to debug htl and js pages 8 80
junit initializtion error 2 22
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

710 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