aspose file tools*
The moose likes Game Development and the fly likes control of appletviewer border Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "control of appletviewer border" Watch "control of appletviewer border" New topic
Author

control of appletviewer border

Mich Robinson
Ranch Hand

Joined: Jun 28, 2009
Posts: 250
    
    1
I'm running an applet game using appletviewer but I don't want the it's border to show - does applet viewer have any options to hide the border or are there any other methods I can call the applet? I don't want to use a browser as this has a larger border. I don't wish to turn it into an application as I just want one simple bit of code I can run either via the browser or through my arcade cabinet running mame.

Thanks for looking.

Mike


Arcade : Alien Swarm
Board : Chess - Checkers - Connect 4 - Othello
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39570
    
  27
What, exactly, do you mean by "border" in this context? Can you post a screenshot that demonstrates it?


Ping & DNS - updated with new look and Ping home screen widget
Mich Robinson
Ranch Hand

Joined: Jun 28, 2009
Posts: 250
    
    1
Hi Ulf

I've attached a picture of the game being run via the appletviewer command.

I'd like to remove the top 2 lines and the bottom line, they begin with the text
"Applet viewer: Moon Base Alpha"
"Applet"
....
"Applet started"

I only have so much screen available when running the game on an arcade cabinet (MAME) and these 3 lines make it obvious the game is being run on a computer rather than as an old style arcade cabinet. Is there an alternative to the applet viewer command that doesn't show this info or is there an option to turn this info off.

Mike


[Download MBA.bmp] Download

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39570
    
  27
Try fullscreen mode: http://java.sun.com/docs/books/tutorial/extra/fullscreen/index.html. Not sure if appletviewer supports that, but it should work for applications.
Mich Robinson
Ranch Hand

Joined: Jun 28, 2009
Posts: 250
    
    1
Sorry for late reply - I've been trying all sorts of ideas. The easiest solution turned out to be starting the browser up in fullscreen mode which looked fine. I then found I needed to alter the cursor focus to go to the applet. I then wanted to put the game in an arcade cabinet I built so I could play it in a better environment. Turned out I needed to write a .bat program to start the browser off. It went on and on ...

I may well turn the applet into an application but I'm still reluctant at the moment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: control of appletviewer border
 
Similar Threads
why is a applet not running in some Browser
AccessControlException
Trouble executing(actionlistener) the swing applet properly in html
It is not true, Database does not shows through Applet
How to submit HTTP requests from an applet