LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2005, 08:38 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Am I the only one fed up with Swing?


What widgets libraries are usable to replace swing? I'm sick and tired of trying to figure out how to make something look the way I want it to under Swing. :@
 
Old 04-28-2005, 09:35 AM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Eclipse and swt
 
Old 04-29-2005, 12:00 AM   #3
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Re: Am I the only one fed up with Swing?

Quote:
Originally posted by eantoranz
What widgets libraries are usable to replace swing? I'm sick and tired of trying to figure out how to make something look the way I want it to under Swing. :@
You are talking about 'look and feel' or the programming model?
 
Old 04-29-2005, 12:15 AM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
Programming model. I think Swing is too painful to "play" with.
 
Old 04-29-2005, 01:22 AM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
you can download ebooks or buy books. Once you understand swing, it is easy maybe not such as visual basic...java itself is simple compared to C++ or C.
 
Old 04-29-2005, 08:20 AM   #6
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I know, I know... But I just don't find myself confortable programming Swing.

I think there might be other "toolkits" available. GTK or other stuff.
 
Old 04-29-2005, 08:21 AM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I certainly don't want to get to the extreme of having to work with JNI to use other toolkits.
 
Old 04-29-2005, 09:26 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Picking native toolkits, SWT is one, breaks portability, one main java objective.
Java application should run on all supported JVMs without the need of extra, O/S and CPU dependant, libraries (dlls).
You'd better think again, and not give up on Swing with which many developers are confortable.
 
Old 04-29-2005, 10:24 AM   #9
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
try the VE plugin for eclipse, it has a swing GUI builder, it's been a time saver for me.

http://www.eclipse.org/vep/
 
Old 04-29-2005, 10:52 AM   #10
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
OK... I'll give it a try.

I'm trying to install the VE plugin. I downloaded the zips for ve, gef and emf. But when I try to add the "local sites" and add the features, it says:
Code:
Requested operation cannot be performed because it would invalidate the current configuration. See details for more information.
  WTP Common Utilities (1.0.1) does not have a valid license agreement.
  WTP EMF Integration Core (1.0.1.2) does not have a valid license agreement.
Any suggestions?
 
Old 04-29-2005, 11:53 AM   #11
prell
Member
 
Registered: Jul 2004
Posts: 73

Rep: Reputation: 15
Cocoa

I don't know if you have the means, but on OS X, the developer tools fully support Java. So you could, for instance, start a Java-Cocoa project in Xcode, and design the interface (and the Controller-UI interactions and outlets) visually in Interface Builder. Apart from the obvious advange of designing a UI visually by hand, another advantage of this is that Interface Builder can constrain you to Apple's Human Interface Guidelines (HIG), which dictate, for example, how far widgets can be from other widgets. So, Interface Builder will "snap" widgets on forms, as you place them. The results are forms and widgets that appear harmonious to other windows the user has open.

And, as an aside: in Xcode 2.0 (which comes with OS X 10.4 "Tiger"), Ant builds are supported. Many other Java enhancements have also been added in Tiger and Xcode 2.0.

Last edited by prell; 04-29-2005 at 11:54 AM.
 
Old 04-29-2005, 01:29 PM   #12
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
you just need to unzip the zip files and put them in eclipse folder (the plugins are already in the correct directory structure). after you restart eclipse, you can create a new class by going to: new -> other... -> java -> visual class.
 
Old 04-29-2005, 08:25 PM   #13
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
Is it possible to do it keeping them in a different directory? Let's suppose I have eclipse under /usr/ (where I do have it).
 
Old 04-29-2005, 08:26 PM   #14
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
...and don't want to mess with the original directory.

I want to work on the files in my home.

Last edited by eantoranz; 04-29-2005 at 08:32 PM.
 
  


Reply



Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fed 3 -> Sol jollyjoice Linux - Networking 0 07-08-2005 02:50 PM
fed up with windows... JT13 Linux - General 2 06-03-2005 01:32 AM
getting javax.swing.* to appear student04 Programming 8 10-05-2004 10:06 AM
I am so fed up with Windows bolinux General 39 10-23-2003 10:25 AM
Getting fed up with modems karamasplace Linux - Hardware 7 08-06-2002 04:50 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration