full screen applet in java without any kind of bordering

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

full screen applet in java without any kind of bordering

 
0
  #1
Jun 22nd, 2007
Does anyone know how place an applet in full screen without any kind of bordering or buttons so that the applet starts at 0,0 of the screen and goes all the way to the opposite corner.
Now I know how to get a window into full screen using: GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow(Window win)
but either I have to deal with the annoying window frame or I get some weird result.

Can anyone help?
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: full screen applet in java without any kind of bordering

 
0
  #2
Jun 23rd, 2007
for security reasons applets won't let you do that.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: full screen applet in java without any kind of bordering

 
0
  #3
Jun 23rd, 2007
Is there any class that allows me to have borderless window where I have full control of what's displayed, have listeners and be able to cover the whole screen?

I'm basicaly trying to create a menue screen that takes up the whole screen.

If your wondering what I'm trying to create... I'm creating something similar to a media center, but with a bunch of other functions that media centers don't usually have.


UPDATE:

Well I was just thinking of what I said and I was wondering if I can create my own Frame class that doesn't have minimize, maximize or anything at all; just empty space from one point to another.
Last edited by Mr.UNOwen; Jun 23rd, 2007 at 2:52 pm.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: full screen applet in java without any kind of bordering

 
0
  #4
Jun 24th, 2007
not in an applet.
The border and icons are provided by the browser and cannot be changed for security reasons, so as to prevent people from tricking users into thinking they're seeing a window from an application on their machine instead of an applet.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: full screen applet in java without any kind of bordering

 
0
  #5
Jun 24th, 2007
Well I don't need to use an applet in particular, I just need control of the graphics for whole frame, but I'm guessing there's just no way to get rid of that frame.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 871
Reputation: vinod_javas is an unknown quantity at this point 
Solved Threads: 7
vinod_javas's Avatar
vinod_javas vinod_javas is offline Offline
Practically a Posting Shark

Re: full screen applet in java without any kind of bordering

 
0
  #6
Jun 26th, 2007
this.setUndecorated(true);
boolean undecorated = this.isUndecorated();
this.setLocationRelativeTo(null);

with this code in java swing you can hide the frame
Adios,

Vinod......
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: full screen applet in java without any kind of bordering

 
0
  #7
Jun 26th, 2007
Thanks a lot, I was thinking it was hopeless at this point. So with the frame gone I can have the applet start at the upper corner?
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: full screen applet in java without any kind of bordering

 
0
  #8
Jun 27th, 2007
sigh...
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 116
Reputation: Mr.UNOwen is an unknown quantity at this point 
Solved Threads: 0
Mr.UNOwen Mr.UNOwen is offline Offline
Junior Poster

Re: full screen applet in java without any kind of bordering

 
0
  #9
Jun 27th, 2007
I haven't tried any of it yet, but what's with the sigh, jwenting?
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,635
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 469
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: full screen applet in java without any kind of bordering

 
0
  #10
Jun 27th, 2007
Post #2.
I don't accept change; I don't deserve to live.

Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC