Solved

emacs and java

Posted on 2009-05-08
8
929 Views
Last Modified: 2013-12-13
I'm moderately new to Emacs and Netbeans.  When you create a user interface for a program using Java and Emacs, does Emacs have a graphical design tool to create the user interface?  I mentioned Netbeans b/c I have used their graphical design tool and can't find Emacs's.
0
Comment
Question by:dwcronin
  • 5
  • 3
8 Comments
 
LVL 7

Accepted Solution

by:
zwei earned 500 total points
ID: 24339877
No, since emacs is just an editor. Here is a list of GUI builders:

http://www.fullspan.com/articles/java-gui-builders.html
0
 

Author Comment

by:dwcronin
ID: 24341848
So if I understand this right - emacs is just an editor, as are vi, pine, and windows notebook,.  They differ but it is just an opinion as to which one you use.  Netbeans, Eclipse, and probably others on the other hand are IDEs.  They contain an editor ( which might be one of the previously mentioned editors ) but they also have other features such as user interface designers.  I won't say debuggers b/c I think Emacs has a debugger.  

There is no graphical design tool in emacs but somehow you use the designers you gave me and somehow hook the results into source code you produce with emacs.  Is that about it?
0
 
LVL 7

Expert Comment

by:zwei
ID: 24343193
Yeah, you got it. If you're going to use emacs, you'll have to find an outside GUI builder and copy the code files into your project. The alternative is to code the GUI yourself in emacs.

With javafx, you can code nicer GUIs (I don't know if there is a GUI builder yet for javafx). But if you're going to code the GUI yourself, I'd suggest doing it in javafx.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Comment

by:dwcronin
ID: 24343484
You just created some questions:
This is my first contact with javafx - I just looked it up on wikipedia and checked add/remove and synaptic and it doesn't look like javafx is available for ubuntu.  Is that true?  ( I'm trying to go cheap so I went to linux )

My understanding is that it is too error prone to do the GUI yourself and you're safer with a GUI designer.  If that's not the general feeling, I'll grab a piece of graph paper and start drawing.  What's your opinion?
0
 
LVL 7

Expert Comment

by:zwei
ID: 24343508
No, javafx is not available for linux yet. There is a hack to get the mac OSX file to work under linux but I haven't tried it:
http://www.weiqigao.com/blog/2008/12/04/using_javafx_1_0_on_linux.html

Coding GUI in java can be very frustrating if you are doing complex swing GUIs. This is part of the reason why javafx was produced. I have created only simple swing GUIs in java and it works fine for me. It depends on what you are creating. It's always easier to use a designer, for sure.
0
 
LVL 7

Expert Comment

by:zwei
ID: 24343542
It seems netbeans has a plugin for javafx as well:

http://javafx.netbeans.org/download-compiler-JFXplugin.html
0
 

Author Comment

by:dwcronin
ID: 24343810
Thanks for all the help
0
 
LVL 7

Expert Comment

by:zwei
ID: 24343820
No problem.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 50
micro services spring boot application error 3 183
simple java question 3 55
Why my table column Id is not passed to java object? 4 38
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now