 |
 |
Does Xcode has something help for developing UI in Java?
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Aug 2004
Status:
Offline
|
|
|
|
|
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
|
|
If you use Cocoa-Java, there's Interface Builder. If not, no.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Aug 2004
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2001
Location: Edinburgh, UK
Status:
Offline
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|