Home
Thursday, September 21, 2017
3:08:13 PM
Users online: 0   You are here >> Home > Programming

Forums | Programming Forums search
Forum FAQ
   
  1  
java on OSX
dave_blob 
26/8/08 3:33:54 PM
Guru

gday all, opinions on java GUI apps running on osx?
Ive got a need to develop a mac/windows app that can run on either without installing any frameworks(mono etc) - it has to run off removable media.

So its pretty much java or develop two seperate native apps, no?


Edited by dave_blob: 26/8/2008 3:34:02 PM

-----
Your comeback shames me

Phelan:
You exist. You are born and you die. That's it.
What matters is life before death - enjoy your time here, be nice to others and have some fun.

freespace 
26/8/08 11:24:19 PM
Hero
Titan


Yep. Java under OS X isn't that bad, at least it uses aqua elements.

-----
By perseverance the snail reached the ark.

http://www.shuningbian.net - blog
http://anonshare.pictorii.com - share files anonymously
http://dailydiscovery.b3ta.org - learn something new
its f reespace damn it!

nicephotog-jvm.net 
27/8/08 8:55:22 AM
Master

I would think the issue is whether the users will have or be willing to obtain a JVM JRE .
They're all the same from Sun Microsystems Inc. for the point on each platform.

-----
NIN - Reptile (Reciprocating Marine engine)

freespace 
27/8/08 10:17:04 PM
Hero
Titan


OS X comes with JRE. Most window computers should have JREs already.

-----
By perseverance the snail reached the ark.

http://www.shuningbian.net - blog
http://anonshare.pictorii.com - share files anonymously
http://dailydiscovery.b3ta.org - learn something new
its f reespace damn it!

dave_blob 
29/8/08 5:35:10 PM
Guru

Quote by freespace
OS X comes with JRE. Most window computers should have JREs already.




Yeah I knew that, thats why I thought about using it :)
I wrote GUI's in java about 5 years ago, and it wasn't a very pleasant experience; incredibly verbose and swing looked like arse. I wonder if anythings changed in that regard.
Another option is a statically linked Qt app. That could work! Not very pretty though. :p

Man, why is cross platform gui still so hard?


Edited by dave_blob: 29/8/2008 5:41:01 PM

-----
Your comeback shames me

Phelan:
You exist. You are born and you die. That's it.
What matters is life before death - enjoy your time here, be nice to others and have some fun.

nicephotog-jvm.net 
29/8/08 8:03:10 PM
Master

"...swing looked like arse..."

----- javax.swing.LookAndFeel ----
public abstract class LookAndFeel

See the Tutorials at www.java.sun.com

-----
NIN - Reptile (Reciprocating Marine engine)

dave_blob 
3/9/08 11:19:08 PM
Guru

yeah none of the standard look n feels for swing look like they were made this century, and im no designer so im not building my own!

What I did discover in my research, is an extremely promising project by trolltech called qtjambi.
Its QT bindings for the jvm - so not only do you get the native rendering speed and looks of QT, but you get sane GUI syntax for java! Callbacks are added to specific actions on UI elements, in one line, rather than all the usual java cruft.
Also, they've got a GUI builder plugin for Eclipse, so its all point and click GUI designing, which is great.

Check out the demo on http://trolltech.com/products/qt/features/language-support/java if you want to look at a bunch of examples and all the look n feels they support.

You can even distribute your whole app, including the qt bindings, as a single jar file.

I may be a little hyped up on marketing speak - im sure ill be much more hatefull if(when?) I start using it.

-----
Your comeback shames me

Phelan:
You exist. You are born and you die. That's it.
What matters is life before death - enjoy your time here, be nice to others and have some fun.

TheSecret 
4/9/08 4:12:24 AM
Overlord
AWT?

-----
Part of the inhumanity of the computer is that, once it is
competently programmed and working smoothly, it is completely honest.

dave_blob 
4/9/08 11:52:58 AM
Guru

Quote by TheSecret
AWT?



AWT is dead. Noone uses it anymore AFAICS. Googling around reveals people talking about its death in *2000*, with java 1.2.
SWT(the eclipse native toolset) seems to be the last gasp of AWT. It dosent look too bad, but from first looks it seems like hell to code in compared to QT.

-----
Your comeback shames me

Phelan:
You exist. You are born and you die. That's it.
What matters is life before death - enjoy your time here, be nice to others and have some fun.

freespace 
4/9/08 4:21:25 PM
Hero
Titan


Java on OSX looks alright, though under other platforms it does look like arse. But you can make skin it yourself you know.

-----
By perseverance the snail reached the ark.

http://www.shuningbian.net - blog
http://anonshare.pictorii.com - share files anonymously
http://dailydiscovery.b3ta.org - learn something new
its f reespace damn it!

  1  
Forums | Programming