![]() |
#16 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Bad news, Tao Group isn't PBP-1.0 complaint.
Their java.awt.Window has a constructor, PBP-1.0 says it has no constructor. I worked around this by crafting a java.awt.Window to compile against that has the Tao Group constructor so I could invoke it. But when run I get: Code:
[Loaded java/awt/Dialog/class] [Loaded java/awt/Insets/class] [Loaded java/lang/UnsupportedOperationException/class] [Loaded java/lang/reflect/InvocationTargetException/class] app/stdio/jcode: (*env)->CallStaticVoidMethod returned an exception java.lang.UnsupportedOperationException java.awt.GraphicsDevice.claimWindow(Ljava/awt/Window;)V java.awt.Window.<init>(Ljava/awt/GraphicsConfiguration;Ljava/awt/Window;)V java.awt.Dialog.<init>(Ljava/awt/Frame;Ljava/lang/String;Z)V java.awt.Dialog.<init>(Ljava/awt/Frame;Ljava/lang/String;)V test3.<init>()V test3.main([Ljava/lang/String;)V According to PBP-1.0 we are restricted to a single Frame per application, but there is no restriction on the number of Windows. Therefore Tao Group's JVM is not fully PBP-1.0 compliant. And because it isn't: no Dialogs. ![]() P.S. No, the javac compiler won't let me wrap the super(...) in a try/catch block. ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
2-pack Geek Gear ear light, $13 shipped | jj2me | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 01-11-2010 12:37 PM |
Opera (Labs edition) EPUB reader Widget | mjh215 | Reading and Management | 0 | 11-03-2008 11:16 AM |
iLiad Java Viewer Booster Pack | scotty1024 | iRex Developer's Corner | 46 | 02-06-2008 08:19 PM |
iLiad fullscreen java awt frame | helch | iRex Developer's Corner | 0 | 08-10-2007 03:30 AM |
iLiad Widget style | tomchek | iRex Developer's Corner | 5 | 08-02-2007 11:16 AM |