• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • 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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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