Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Does Xcode has something help for developing UI in Java?

Does Xcode has something help for developing UI in Java?
Thread Tools
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Mar 6, 2005, 03:05 AM
 
thx in advance.
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Mar 6, 2005, 01:26 PM
 
If you use Cocoa-Java, there's Interface Builder. If not, no.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
maCCer  (op)
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Mar 7, 2005, 05:09 PM
 
Originally posted by Chuckit:
If you use Cocoa-Java, there's Interface Builder. If not, no.
what is cocoa java, i am new to Cocoa
If i use interface builder to implement a UI, can i run it under java envirment?
cheers
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Mar 7, 2005, 05:31 PM
 
Cocoa-Java allows Java programs to use Apple's Cocoa framework. However, Cocoa only exists on Mac OS X, so if you want to run your code on another platform, you can't depend on it being there. So yes, you can use Interface Builder to make a GUI for a Java app, but only if that app is going to be run on OS X.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Mar 7, 2005, 09:29 PM
 
Just to be clear on this: If you create an interface in InterfaceBuilder (and are not creating a WebObjects Direct-To-JavaClient app... very special case) the actual interface does not actually display using any Java code (ie: swing or awt), it is displayed using the normal Quartz routines (mostly pure C), but is driven from your (Java) code. In addition, you are using the Cocoa frameworks (mostly over the JavaBridge). Both of these facts make anything witten with Cocoa-Java non-portable.

I love writing to Cocoa-Java as it is a great environment. But it is just like writing to Microsoft's environment... you are stuck on one platform (that does not bother me... I don't really care about Windows).
     
Dedicated MacNNer
Join Date: Oct 2003
Location: Round Rock, TX
Status: Offline
Reply With Quote
Mar 17, 2005, 10:49 PM
 
If you're programming for Swing, try out Foam at http://www.computersinmotion.com.

Check out the demo videos.
     
Dedicated MacNNer
Join Date: May 2001
Location: Edinburgh, UK
Status: Offline
Reply With Quote
Mar 19, 2005, 06:14 PM
 
I would advise you to get yourself a copy of Eclipse and go from there. I have been using the Jigloo UI builder plugin recently for SWT development. Unfortunately I don't think it works with Swing on the Mac.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:13 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2