Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java Webstart problem  (Read 2090 times)
0 Members and 1 Guest are viewing this topic.
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Posted 2005-12-05 09:46:53 »

I get this problem with the 4K games, but I think it also applies for some of the other games, so I've posted it here.

When I run any 4k game with Webstart, I get this Java Application box at the top. (See attached image) It wouldn't bother me, but there is information (I believe like Lap-speed...), it hides. I don't get it, if I e.g. run games, that show a 3D-canvas. (Like Undead-Arena)

Can anybody tell me, how I can hide that box, or other workarounds, so it doesn't hide information?

Arne

:: JOODE :: Xith3d :: OdeJava ::
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2005-12-05 09:53:12 »

If you signed the jar and asked for the right permission the bar wouldn't be there.

The really annoying thing is on some systems its at the top and on other its at the bottom and it does infact cover part of the game screen.


Kev

Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #2 - Posted 2005-12-05 10:29:13 »

so all 4K entries don't use signed jars?

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 164
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #3 - Posted 2005-12-05 10:30:41 »

Thats right, this year it seems that signing counts towards the 4K so there isn't much signing going on since it means you can fit less game in.

Kev

Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #4 - Posted 2005-12-05 10:47:42 »

mmh - then at least it should at least be one of the points the games get judged at ! (Who wants to play games, where you can't see everything Huh )

I'll make a post there, because it seems now to be more appropriate to discuss this issue there.

Arne

:: JOODE :: Xith3d :: OdeJava ::
Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #5 - Posted 2005-12-05 17:00:41 »

you can hide that anoying bar in the webstart cache frontend.

In preferences, go to advanced, and uncheck the ticker about showing protected zone information (for me is "ver indicador de zona protegida") i think that bar it's suposed to show if the app is running on a sandbox

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #6 - Posted 2005-12-05 17:17:03 »

Thats right, this year it seems that signing counts towards the 4K so there isn't much signing going on since it means you can fit less game in.

Kev

I thought signing did NOT count towards the 4k if an unsigned version is also provided that is within 4k?

With respect to the original problem...
There is probably an API somewhere that you should be using to find the overhead of the title bar and other things and adjust your frame size accordingly... this same problem applies if you have changed the title bar font to a larger font for example.

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #7 - Posted 2005-12-05 17:58:55 »

Ah nuts, I didn't realise the bar can appear at the top as well as the bottom.  The 'proper' solution is to insert a panel into the Frame & draw on that, but it's expensive in bytes.  I'm short on time (again) this week, so any fix for Speed4k may need to wait for the weekend.

Maybe just get the default content pane with getContentPane() would work?

Cheers
Alan

Time flies like a bird. Fruit flies like a banana.
Offline woogley
« Reply #8 - Posted 2005-12-05 19:21:49 »

I thought signing did NOT count towards the 4k if an unsigned version is also provided that is within 4k?

precisely, if you'd like to sign your game without having to worry about the 4K limit, just supply an unsigned version of the same jar that is below 4K as another launch option, this jar will be the one that counts in size validation
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #9 - Posted 2005-12-05 19:57:17 »

Speed4k now adjusts it's size to allow for 'Java Application Window' .  I think this will work whereever it is.

Alan  Smiley

Time flies like a bird. Fruit flies like a banana.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #10 - Posted 2005-12-05 20:22:19 »

you can hide that anoying bar in the webstart cache frontend.

In preferences, go to advanced, and uncheck the ticker about showing protected zone information (for me is "ver indicador de zona protegida") i think that bar it's suposed to show if the app is running on a sandbox

Thank you
That worked Smiley

:: JOODE :: Xith3d :: OdeJava ::
Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #11 - Posted 2005-12-05 23:08:06 »

I'm trying to deploy an unsigned jar and it prompts a security error trying to access the main aplication jar. I have followed Kev's howto, and looked at a couple descriptors

[edit] it's fixed now Grin will post game soon [/edit]

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline Vorax

Senior Member


Projects: 1


System shutting down in 5..4..3...


« Reply #12 - Posted 2005-12-05 23:15:07 »

1  
2  
Unsigned application requesting unrestricted access to system
Unsigned resource: http://flx.proyectoanonimo.com/proyectos/webstart/airpong4k/airPong.jar


It isn't signed and it's trying to leave the sandbox.

Have a look here: http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/development.html#signing

[Edit] Just saw your edit - never mind then Smiley [/Edit]

Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #13 - Posted 2005-12-06 00:32:40 »

i was following kev's howto and forgot to remove the
1  
2  
3  
 <security>
<all-permissions/>
</security>


tags for signed jars  Roll Eyes

thanks aniway Smiley

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (22 views)
2014-09-12 09:08:26

Norakomi (55 views)
2014-09-10 13:57:51

TehJavaDev (67 views)
2014-09-10 06:39:09

Tekkerue (33 views)
2014-09-09 02:24:56

mitcheeb (55 views)
2014-09-08 06:06:29

BurntPizza (39 views)
2014-09-07 01:13:42

Longarmx (24 views)
2014-09-07 01:12:14

Longarmx (30 views)
2014-09-07 01:11:22

Longarmx (30 views)
2014-09-07 01:10:19

mitcheeb (37 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!