Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 495
  • Last Modified:

need help with JWindow

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
josiah007ng
Asked:
josiah007ng
  • 4
  • 2
  • 2
  • +2
1 Solution
 
CEHJCommented:
Not sure if that's possible without JNI
0
 
TimYatesCommented:
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
 
grim_toasterCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
sciuriwareCommented:
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
 
CEHJCommented:
Doesn't work for me...
0
 
sciuriwareCommented:
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
 
TimYatesCommented:
I'm on Linux, so I'm not going to try :-)
0
 
sciuriwareCommented:
This evening I will try on LINUX too, patience please .....
;JOOP!
0
 
objectsCommented:
0
 
sciuriwareCommented:
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.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now