Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (686)
Games in Android Showcase (198)
games submitted by our members
Games in WIP (758)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2
1  Discussions / General Discussions / Re: Chrome now blocks applets by default on: 2011-04-11 12:13:12
I have about 6-7 months left of my Applet-based project. I wonder if it will even run by the time I'm finished? Smiley

As long as plugins are up-to-date they should be allowed to run. Give a warning if not, suggest upgrade, or block if its too old. Java is just as established as Flash, and there's no reason to discriminate because of security issues. Flash is just as riddled with security flaws as Java. Concerning signed applets, I think there's ground for extra security warnings.The best thing would be for Oracle to a major redesign of the warning system though.
2  Discussions / General Discussions / Re: Yay, Java Security Again! on: 2011-02-18 00:41:37
I think a lot of these problems could be resolved with a better security dialog. Even I find it a little vague. An alternative could be a multi-page wizard dialog that tells the user what rights the applet is asking for and tells of their security implications, and where the user must manually enable each right. Self-signed applets should be restricted to the domain where it's distributed from and its certificate should convey this information.
3  Discussions / General Discussions / Re: Lots of doors are being closed for Java on: 2011-02-07 18:52:22
deleted: wrong button
4  Discussions / General Discussions / Re: Lots of doors are being closed for Java on: 2011-02-07 16:06:27
Java has always been niche on the client. So no change there. Odd considering how good it is at general application development.
Wasn't that only until recently? Java applications used to be associated with ugly user-interfaces and poor performance. Applets only became useful (atleast for me) since update 1.6.10, which was probably a last-ditch effort by Sun to remain relevant on the desktop. It's a shame it took so long.

I think this Oracle lawsuit is a good thing. It will motivate Google to work on their Portable Native Client technology, which I think can be quite exciting for all kinds of platforms. At the very least, it'll give Oracle some competition as a browser vm (I dont find Javascript + WebGL + canvas particularly convincing).
5  Discussions / General Discussions / Re: Yay, Java Security Again! on: 2011-01-10 17:57:45
Remember, it only takes Oracle one patch to remove those signed applets.  persecutioncomplex
6  Java Game APIs & Engines / Tools Discussion / Re: Hosting jars over https on: 2010-12-29 09:16:34
Also, I'm getting a SSL certificate from Thawte for my domain. These don't work for signing jars right? The seller also adverticed certificates for jars, but they were very expensive. Is self-signed that display my domain name just as good?
7  Java Game APIs & Engines / Tools Discussion / Re: Hosting jars over https on: 2010-12-29 09:02:58
I also have a lot of message passing going between the applet and javascript. Would a foreign webpage over http, that includes my signed jars on https, be able to communicate with an instance of the applet?

Info on my project: I'm making a "traditional application" and is using the webbrowser for UI. Javascript does message passing between the applet and the browser. When I want to load a file, I message the applet to show the file dialog, but I was thinking of adding a disk browser (read/traverse only) in the webpage instead. That's why I'm worried if other reference my jars and can get the same scripting capabilities on foreign sites.
8  Java Game APIs & Engines / Tools Discussion / Hosting jars over https on: 2010-12-29 08:50:06
I'm a little disturbed that by signing my jars and publishing them on the net, when users have accepted the certificate, any website can reference these jars with the certificate auto-accepted. Would hosting these by https help here? As I understand, you cannot mix webpages that use http and https.
9  Discussions / General Discussions / Re: Oracle sues Google over use of Java in Android on: 2010-08-15 18:21:58
I have serious regrets betting on applets, but right now it's the only way to get "full-access" to hardware in a web-browser. I think it's an excellent technology for distributing games on the web. Too bad it stagnated under Sun's leadership, and probably even worse under Oracle's.

I don't know if it's an omen, but I just recently ordered "The D programming language". Not exactly an alternative though and I love my Scala.  Cry
10  Java Game APIs & Engines / JOGL Development / What are my applet options? on: 2009-06-18 03:29:06
I've just started adding JOGL to a webpage I'm working on using multiple applets using JNLPAppletLauncher to run the applets. It links to Sun for retrieval of the actual jars, so I'm wondering, is it possible to host these yourself? I use signed applets and it would be nice to have a common notice for all. JOGL2 with 3.1 is what I'd prefer to use.

Also, what alternatives are the to the JNLPAppletLauncher for applets? Can you trim the size of the jars even more with the new compression?

After some testing by including the Gears applet, I seem to have some stability problems in Firefox 3.0.11 (WinXP 32-bit). For example, if I move the applet sometimes rectangles with the webpage's background color get draw in-front of the applet (like a mask over the applet). Also, resizing the applet produces flickering where I believe there's a delay between the canvas redraw until the OpenGL redraw (the background get erased twice). Even Java2d have this problem, so it's probably related to Firefox instead.
11  Java Game APIs & Engines / OpenGL Development / Re: Sharing OpenGL among several Applets on: 2009-05-08 14:40:50
Yeah, it's a combo of everyones favourite technologies. It's an image processing app with multiple applet/flash for displaying data. I guess it's a very unusual use-case for applets, but I believe it might be possible to pull off. Just want to check first if someone else have experienced with this use-case. Everything is running dandy except for the bottleneck between java<->flash. Data is base64 encoded so it's crazy inefficient. lol.
12  Java Game APIs & Engines / OpenGL Development / Sharing OpenGL among several Applets on: 2009-05-08 10:22:22
What would be the best route to having multiple applets, each using OpenGL and sharing the same data? I'm currently using multiple Flash objects, but data transfer with the master applet is ultraslow and I need to replace them with applets supporting OpenGL. Ordinary usage will require applets to be able to be created and destroyed quickly (in ms). I see there is a caching mechanism for JARs, but I'm uncertain if startup time will still be slow. Also, could it be possible to let the master applet use OpenGL while the other applets acts as "dummies" (ie. not loading the OpenGL jars)?

Also, the latest Java 1.6 will be required by my app.
13  Discussions / General Discussions / Re: Oracle buying Sun on: 2009-04-20 22:15:17
It would be real shame if the Java VM dies for the browser. I believe it's the best way forward for integrating "real" applications into the browser, if only they managed to modularize it and improve startup-time. Sadly, in terms for graphics, Flash is king.
14  Discussions / General Discussions / Re: Applet VS Webstart , what do you prefer as a end user ? on: 2009-03-10 02:27:33
Having add/remove programs flooded with java webstart stuff is a bit annoying.
15  Java Game APIs & Engines / JOGL Development / Re: GLCanvas on an Applet, how to set size and location ?? on: 2009-02-08 23:19:02
Try and move
        canvas.setSize(500*6/5,500);  // this is working just fine, but my applet height is 100% on html, not 500px ??
        canvas.setSize( dim.getHeight()*6/5,dim.getHeight() );  // why is this line not working at all, i only receive 0,0 size canvas ??

into resize() and add an attribute for canvas.
public void resize(Dimension dim)
        canvas.setSize(500*6/5,500);  // this is working just fine, but my applet height is 100% on html, not 500px ??
        canvas.setSize( dim.getHeight()*6/5,dim.getHeight() );  // why is this line not working at all, i only receive 0,0 size canvas ??}

16  Game Development / Newbie & Debugging Questions / Re: Reading a 7z archive? on: 2008-12-29 08:11:23
OMG, I just tried LZMA for java and encrypting a 1kb file gives a OutOfMemoryError.
Now, I'm not sure about encrypting with LZMA is a good thing Cheesy, but LZMA compression/decompression uses alot of memory. That's the price you pay for better compression ratio. You can to some degree control the memory usage by experimenting with the compression parameters (which control the size of the dictionary used by LZMA during decompression).
17  Game Development / Newbie & Debugging Questions / Re: Reading a 7z archive? on: 2008-12-27 14:48:54
That (for the java code included) only gives you the ability to pack/unpack a single file with lzma. Handling the 7z archive format need additional code. The format is described though in 7zFormat.txt if you want to do it yourself. Smiley

ed: an easier way is to: your files -> uncompressed jar/zip -> lzma pack -> include in your program -> unpack lzma -> handle further as ordinary jar/zip
18  Game Development / Performance Tuning / Slow performance when using custom classloader in applet. on: 2008-12-14 05:31:03
I've been trying to implement a custom classloader with applets but I'm having some performance problems.

If I create the classloader with the ClassLoader.getSystemClass() as parent, using defineClass (with bytecode) is fast. Problem then is that the instances I create from classes defined cannot find any class defined in the classloader used with the applet class.

When I use the  classloader from the applet class as parent in my custom classloader, the performance of defineClass get very slow (like 3-4 defineClass pr second).

I'm currently using the first method and using reflections to get around the problem, but it's a bit hacky, so any suggestions would be appreciated.
19  Game Development / Shared Code / Re: Simple High Compression Java Game/Program Installer on: 2008-12-09 14:10:31
I couldn't find any java files in the sources jar.

How do you load the jar content? Do you use a custom ClassLoader?

ed: stupid me, trying to load a 7z file with the lzma decoder. Smiley
20  Game Development / Shared Code / Re: Simple High Compression Java Game/Program Installer on: 2008-12-09 03:18:36
Java can't read the LZMA compressed jar. I was thinking of something along the line:
main jar -> applet + lzma decompressor + lzma-packed jars -> decompress and load jars -> run as normal
21  Game Development / Shared Code / Re: Simple High Compression Java Game/Program Installer on: 2008-12-09 02:01:33
Is it possible to make decompression and linking usable within a signed applet? I'm currently at 5MB ultra-zipped, but with LZMA it gets down to 2.5MB.
22  Games Center / Showcase / Re: PixelWarrior 40x30 pixel EGA Action Adventure on: 2008-11-26 18:40:43
Peculiar dilemma. I'm pretty sure that would be impossible, or else you'd be able to monitor keystrokes outside the webpage. You'd could probably use threads to build up a buffer for choords, but it seems like much work for the request. Smiley
23  Games Center / Showcase / Re: PixelWarrior 40x30 pixel EGA Action Adventure on: 2008-11-25 19:27:46
Good idea, might add that tonight. I have a MIDI keyboard so haven't really had the need to input notes with my computer keyboard, but that would be pretty handy.
That would be cool. I used to use the Virtual Piano with my Yamaha DB50XG, though it's not particulary touch-sensitive. It's pretty much hammering the keys. Smiley
24  Games Center / Showcase / Re: PixelWarrior 40x30 pixel EGA Action Adventure on: 2008-11-25 19:15:58
Very cool synth (can I request virtual-piano mapping from keyboard? Smiley). I've always wondered why audio-processing in game seem to be living in the stone-age while 3d-graphics have moved beyond imagination.
25  Game Development / Performance Tuning / Re: Applet heap size on: 2008-11-25 18:59:04
to make the story short except in 1.6 update 10 there is no way to increase the JVM memory setting at runtime, and even a signed applet wont works. I found that the default heap size may vary depending on target JVM and maybe OS not sure.

one workaround could be to use streaming and allocate object only when they are requiered rather than allocating all objects when starting.
I atleast have no problem with requiring 1.6 update 10 and fallback on Flash with limited functionality.
26  Discussions / General Discussions / Re: Applet Reliability: Test with me! (MSIE 7.0 please) on: 2008-11-25 18:40:56
I might have to put that effort into it some day, though, if it really helps.
Further, I have only 1 applet on my page (not even dynamically embedded), but that hangs / hanged often enough!
Update 10 have the separate_jvm parameter. Maybe that could help (with refreshes too). link

Concerning your users: inform them that your program is much more stable with update 10 and include some instructional text on how to install the update. Needless to say, the java updater is a horrible openoffice pushing bastard. They got alot to learn from how Adobe have handle Flash, though I suspect Adobe will start pushing AIR more agressivly too (as in Adobe Reader).
27  Game Development / Performance Tuning / Re: Applet heap size on: 2008-11-25 18:10:06
in 1.6 update10 you can define the heap via tags, no need for signing:
<PARAM name="java_arguments" value="-Xmx500m">

But this won't work with versions below.
yes! and I guess about 90% of all users won't care about /recognize it if the applet needed 64 or 640mb.

I just discovered this too and been able to push memory up to atleast 800mb. Needless to say, ranting mode off. Smiley

Wonder if JavaFX pushed this into the update (or maybe I should say, Adobe pushing into the Application domain)?
28  Game Development / Performance Tuning / Re: Applet heap size on: 2008-11-25 16:56:02
I need ALOT more. I'm doing image processing and my current implemention in Flash can use up to a gigabyte or more of memory. Who the hell thought 64mb of memory should be enough (640K is Enough For Anyone)!!! Smiley I'd actually like to stay in Flash, but the JavaVM allows for so much more so it's a bit fustrating walking into the Applet world.
29  Game Development / Performance Tuning / Applet heap size on: 2008-11-25 16:46:13
I'm doing a port of some Flash code to an applet, but stumbled upon a little problem: the heap size of an applet. Some surfing suggested that the heap size for applets are a static size and it can be changed with each user speficying the size in their control panel. Is this right (in which case the responsible ought to be shot! Smiley )

Are there any work-around for this (like a signed applet etc.)? My entire interface relies on the webbrowser.
30  Discussions / General Discussions / Re: Browser security nags (or lack of them!) on: 2008-11-23 05:42:45
In Firefox, the browser will ask if executing a jar. Maybe you have turned this on auto-accept at a previous time?
Pages: [1] 2
roseslayer (462 views)
2016-08-06 11:43:29

roseslayer (421 views)
2016-08-06 09:43:11

xTheGamerCodes (497 views)
2016-08-04 15:40:59

xTheGamerCodes (488 views)
2016-08-04 15:40:24

orrenravid (838 views)
2016-07-16 03:57:23

theagentd (915 views)
2016-07-11 14:28:54

Hydroque (1011 views)
2016-07-06 05:56:57

Hydroque (1013 views)
2016-07-03 08:52:54

GrandCastle (826 views)
2016-07-01 09:13:47

GrandCastle (640 views)
2016-07-01 09:09:45
Rendering resources
by Roquen
2016-08-08 05:55:21

Rendering resources
by Roquen
2016-08-08 05:52:42

Rendering resources
by Roquen
2016-08-08 05:50:38

Rendering resources
by Roquen
2016-08-08 05:49:53

Rendering resources
by Roquen
2016-08-08 05:32:39

Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42 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‑
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!