Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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 1656 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 10: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
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #1 - Posted 2005-12-05 10: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 11:29:13 »

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

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #3 - Posted 2005-12-05 11: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 11: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 18: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 18: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: 7
Projects: 3


Java tames rock!


« Reply #7 - Posted 2005-12-05 18: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 20: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: 7
Projects: 3


Java tames rock!


« Reply #9 - Posted 2005-12-05 20: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!
Try the Free Demo of Revenge of the Titans
Offline arne

Senior Member




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


« Reply #10 - Posted 2005-12-05 21: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-06 00: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-06 00: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 01: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (133 views)
2013-05-17 21:29:12

alaslipknot (141 views)
2013-05-16 21:24:48

gouessej (171 views)
2013-05-16 00:53:38

gouessej (165 views)
2013-05-16 00:17:58

theagentd (175 views)
2013-05-15 15:01:13

theagentd (160 views)
2013-05-15 15:00:54

StreetDoggy (204 views)
2013-05-14 15:56:26

kutucuk (228 views)
2013-05-12 17:10:36

kutucuk (228 views)
2013-05-12 15:36:09

UnluckyDevil (231 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.142 seconds with 20 queries.