Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
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  
  Help someone with non-Windows  (Read 2962 times)
0 Members and 1 Guest are viewing this topic.
Offline Juriy

Junior Member





« Posted 2008-09-24 12:27:19 »

Hello guys,

I've made a nice component-change effect with swing, using only Java (no natives or smth). Works good on Win, but behaves as if nothing happened on Mac (didn't test it on Linux). Could someone please run it on Mac and tell me if there any exceptions? BTW, if i works and you like it, I can share the code.

http://voituk.kiev.ua/demo/ws/fade/fade.jnlp

http://voituk.kiev.ua - java tutorials, tips and tricks (Russian)
Offline Juriy

Junior Member





« Reply #1 - Posted 2008-09-24 13:11:57 »

Ah, great. This wasn't MacOS, this was Java 5.

I've compiled with target JVM 1.5 and still it didn't warn me that I'm using method that is available from 1.6 only. Well, how could compiler know that.

Just in case: the method was AlphaComposite.derive.

Anyway, have a look at my bubbles-fade-out effect  :-)

http://voituk.kiev.ua - java tutorials, tips and tricks (Russian)
Offline princec

JGO Kernel


Medals: 379
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2008-09-24 15:11:37 »

Neat little effect there Smiley

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline noblemaster

JGO Ninja


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #3 - Posted 2008-09-24 20:48:13 »

very nice indeed  Grin

are you willing to give us some insight and/or share a code sample! I would really like to try that on my programs.

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #4 - Posted 2008-09-25 01:41:21 »

Just ran on a Mac that only has Java 1.5. No exceptions!

(cool effect)

See my work:
OTC Software
Offline Juriy

Junior Member





« Reply #5 - Posted 2008-09-25 07:02:52 »

Quote
are you willing to give us some insight and/or share a code sample!

Yeap sure, I'll put this sample on "Shared Code" in a few hours.

http://voituk.kiev.ua - java tutorials, tips and tricks (Russian)
Offline Juriy

Junior Member





« Reply #6 - Posted 2008-09-25 08:17:27 »

Here they are: http://www.java-gaming.org/topics/bubble-fade-swing-effect/19243/view.html

http://voituk.kiev.ua - java tutorials, tips and tricks (Russian)
Offline gouessej
« Reply #7 - Posted 2008-09-25 10:37:02 »

I get this under Linux but it works fine:

java.security.AccessControlException: access denied (java.util.PropertyPermission java.net.useSystemProxies write)
   at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
   at java.security.AccessController.checkPermission(AccessController.java:546)
   at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
   at java.lang.System.setProperty(System.java:727)
   at com.juriy.fadeout.SettingsScreen.detectSystemProxy(SettingsScreen.java:115)
   at com.juriy.fadeout.SettingsScreen.createGUI(SettingsScreen.java:95)
   at com.juriy.fadeout.SettingsScreen.<init>(SettingsScreen.java:36)
   at com.juriy.fadeout.FadeoutDemo.startFade(FadeoutDemo.java:120)
   at com.juriy.fadeout.FadeoutDemo.access$000(FadeoutDemo.java:26)
   at com.juriy.fadeout.FadeoutDemo$1.actionPerformed(FadeoutDemo.java:64)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.Component.processMouseEvent(Component.java:6041)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
   at java.awt.Component.processEvent(Component.java:5806)
   at java.awt.Container.processEvent(Container.java:2058)
   at java.awt.Component.dispatchEventImpl(Component.java:4413)
   at java.awt.Container.dispatchEventImpl(Container.java:2116)
   at java.awt.Component.dispatchEvent(Component.java:4243)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
   at java.awt.Container.dispatchEventImpl(Container.java:2102)
   at java.awt.Window.dispatchEventImpl(Window.java:2440)
   at java.awt.Component.dispatchEvent(Component.java:4243)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Offline Juriy

Junior Member





« Reply #8 - Posted 2008-09-25 10:44:54 »

Ah, yeap. That's due to the second component I use. Change it to Whatever-Other-JComponent and it'll work fine.

Currently I'm making a proxy selection dialog for desktop app. There's nothing unusual in this exception in the default WebStart sandbox.

http://voituk.kiev.ua - java tutorials, tips and tricks (Russian)
Offline Mr. Gol

Senior Member


Medals: 1



« Reply #9 - Posted 2008-10-09 19:00:11 »

Looks nice! (on a Mac Smiley )
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.

radar3301 (11 views)
2014-09-21 23:33:17

BurntPizza (28 views)
2014-09-21 02:42:18

BurntPizza (19 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (27 views)
2014-09-20 20:14:06

BurntPizza (30 views)
2014-09-19 03:14:18

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

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

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

Tekkerue (50 views)
2014-09-09 02:24:56
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!