Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
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]
1  Java Game APIs & Engines / Java 2D / Re: Entering / Exiting FullscreenMode on: 2003-10-11 09:05:56
Whoua my best java crash ever !!!

java.awt.IllegalComponentStateException: The frame is displayable.
     at java.awt.Frame.setUndecorated(
     at GameKeyListener.keyReleased(
     at java.awt.AWTEventMulticaster.keyReleased(
     at java.awt.AWTEventMulticaster.keyReleased(
     at java.awt.AWTEventMulticaster.keyReleased(
     at java.awt.Component.processKeyEvent(
     at java.awt.Component.processEvent(
     at java.awt.Container.processEvent(
     at java.awt.Window.processEvent(
     at java.awt.Component.dispatchEventImpl(
     at java.awt.Container.dispatchEventImpl(
     at java.awt.Window.dispatchEventImpl(
     at java.awt.Component.dispatchEvent(
     at java.awt.KeyboardFocusManager.redispatchEvent(
     at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(
     at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(
     at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(
     at java.awt.DefaultKeyboardFocusManager.dispatchEvent(
     at java.awt.Component.dispatchEventImpl(
     at java.awt.Container.dispatchEventImpl(
     at java.awt.Window.dispatchEventImpl(
     at java.awt.Component.dispatchEvent(
     at java.awt.EventQueue.dispatchEvent(
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(
     at java.awt.EventDispatchThread.pumpEvents(
     at java.awt.EventDispatchThread.pumpEvents(
java.lang.NullPointerException: component argument pData
     at Method)
     at sun.awt.SunDisplayChanger.notifyListeners(
     at sun.awt.Win32GraphicsEnvironment.displayChanged(
     at java.awt.event.InvocationEvent.dispatch(
     at java.awt.EventQueue.dispatchEvent(
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(
     at java.awt.EventDispatchThread.pumpEvents(
     at java.awt.EventDispatchThread.pumpEvents(

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x2CAB3DC

Current Java thread:
     at sun.java2d.loops.MaskBlit.MaskBlit(Native Method)
     at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(
     at sun.java2d.pipe.AlphaPaintPipe.renderPathTile(
     at sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(
     at sun.java2d.pipe.SpanShapeRenderer.renderRect(
     at sun.java2d.pipe.SpanShapeRenderer.fill(
     at sun.java2d.pipe.PixelToShapeConverter.fillRect(
     at sun.java2d.SunGraphics2D.fillRect(
     at HitPoints.draw(
     at Jeu.render(

Dynamic libraries:
0x00400000 - 0x00407000       C:\j2sdk1.4.2_01\bin\javaw.exe
0x77F40000 - 0x77FEE000       C:\WINDOWS\System32\ntdll.dll
0x77E40000 - 0x77F36000       C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E3E000       C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x7807E000       C:\WINDOWS\system32\RPCRT4.dll
0x77D10000 - 0x77D9C000       C:\WINDOWS\system32\USER32.dll
0x77C40000 - 0x77C80000       C:\WINDOWS\system32\GDI32.dll
0x77BE0000 - 0x77C33000       C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08136000       C:\j2sdk1.4.2_01\jre\bin\client\jvm.dll
0x76AE0000 - 0x76B0E000       C:\WINDOWS\System32\WINMM.dll
0x6BD00000 - 0x6BD0D000       C:\WINDOWS\System32\SYNCOR11.DLL
0x10000000 - 0x10007000       C:\j2sdk1.4.2_01\jre\bin\hpi.dll
0x00820000 - 0x0082E000       C:\j2sdk1.4.2_01\jre\bin\verify.dll
0x00830000 - 0x00848000       C:\j2sdk1.4.2_01\jre\bin\java.dll
0x00850000 - 0x0085D000       C:\j2sdk1.4.2_01\jre\bin\zip.dll
0x02C40000 - 0x02D4F000       C:\j2sdk1.4.2_01\jre\bin\awt.dll
0x72F50000 - 0x72F73000       C:\WINDOWS\System32\WINSPOOL.DRV
0x76320000 - 0x7633C000       C:\WINDOWS\System32\IMM32.dll
0x77170000 - 0x77287000       C:\WINDOWS\system32\ole32.dll
0x5B090000 - 0x5B0C4000       C:\WINDOWS\System32\uxtheme.dll
0x02FC0000 - 0x03010000       C:\j2sdk1.4.2_01\jre\bin\fontmanager.dll
0x736B0000 - 0x736F4000       C:\WINDOWS\System32\ddraw.dll
0x73B10000 - 0x73B16000       C:\WINDOWS\System32\DCIMAN32.dll
0x73890000 - 0x73957000       C:\WINDOWS\System32\D3DIM700.DLL
0x74690000 - 0x746D4000       C:\WINDOWS\System32\MSCTF.dll
0x07470000 - 0x07492000       C:\j2sdk1.4.2_01\jre\bin\dcpr.dll
0x76C40000 - 0x76C62000       C:\WINDOWS\system32\imagehlp.dll
0x6D9E0000 - 0x6DA5D000       C:\WINDOWS\system32\DBGHELP.dll
0x77BD0000 - 0x77BD7000       C:\WINDOWS\system32\VERSION.dll
0x76BA0000 - 0x76BAB000       C:\WINDOWS\System32\PSAPI.DLL

Heap at VM Abort:
def new generation   total 576K, used 220K [0x10010000, 0x100b0000, 0x104f0000)
 eden space 512K,  36% used [0x10010000, 0x1003f2e8, 0x10090000)
 from space 64K,  49% used [0x100a0000, 0x100a7ee0, 0x100b0000)
 to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation   total 3284K, used 2473K [0x104f0000, 0x10825000, 0x14010000)
  the space 3284K,  75% used [0x104f0000, 0x1075a480, 0x1075a600, 0x10825000)
compacting perm gen  total 4096K, used 3589K [0x14010000, 0x14410000, 0x18010000)
  the space 4096K,  87% used [0x14010000, 0x14391468, 0x14391600, 0x14410000)

Local Time = Sat Oct 11 13:02:31 2003
Elapsed Time = 26
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
# An error report file has been saved as hs_err_pid1872.log.
# Please refer to the file for further information.

Nice isn't it ?

Maybe ... i should not do anything with a disposed component  Wink
2  Java Game APIs & Engines / Java 2D / Re: Entering / Exiting FullscreenMode on: 2003-10-10 11:45:48
My problem wasn't to use setFullScreen(null).

It was after when I try to put decoration back with :


it throws an exception telling me that the window is displayable...

Thanks for the site anyway it answered others questions.

So Many bugs to fix, So little Time !
3  Java Game APIs & Engines / Java 2D / Entering / Exiting FullscreenMode on: 2003-10-04 08:22:16
Hello everyone,

I would like to switch from fullscreenmode to windowed mode and windowed mode to fullscreen mode.

I have tried

- Fullscreen to Windowed :

setSize(800, 600);

but there i can't use setUndecorated(false) because the window is displayable. Is there a way to make a JFrame not Dispayable without destroying it (i tried setVisible(false) didn't work) ?

- Windowed to FullScreen :

after using the setSize(800, 600) it seems that there is no way back to fullscreen.

Thanks for your help.
4  Game Development / Networking & Multiplayer / EJ entity versus JDO on: 2003-04-12 11:18:08
Yeah this I know but chat is one part of an online game there much more work to do with data base to insure persistance.

I've seen many articles saying that for interface to the database JDO is much better than EJB entyties Any of you have informations about this ?
5  Game Development / Networking & Multiplayer / Re: Would Jboss and EJB be usefull ? on: 2003-04-09 05:44:44


Raah i am going back studying english.
6  Game Development / Networking & Multiplayer / Re: Would Jboss and EJB be usefull ? on: 2003-04-08 09:51:00
hum i wondered if EJB could be used because i don't see how for exemple i can make my own thread for ping every players just to be sure they are alive. Because whatever the online game looks like there must be chat and i don't think EJB is usefull for handle chat.

Raven  Grin  Embarrassed  Grin
7  Game Development / Networking & Multiplayer / Would Jboss and EJB be usefull ? on: 2003-04-07 10:51:25
Can Jboss and EJB be used for server side online gaming ?
Pages: [1]
Dwinin (74 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (79 views)
2015-10-31 01:32:37

williamwoles (107 views)
2015-10-23 10:42:59

williamwoles (93 views)
2015-10-23 10:42:45

Jervac_ (112 views)
2015-10-18 23:29:12

DarkCart (137 views)
2015-10-16 00:58:11

KaiHH (118 views)
2015-10-11 14:10:14

KaiHH (158 views)
2015-10-11 13:26:18

BurntPizza (173 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!