.:Brian:.
Sep 26 2007, 03:30 PM
Ok, right now I am currently using eclipse, however I can change to whatever if there is something else that would be better for this. But I have made a number of java applications, but they all simply use the command line for doing their user input and output. However, I have been interested in learning how to program graphical user interfaces in java, and was wondering if somebody could point me in the right direction, with some easy to understand and follow tutorials. Also, once I have done that, what about making a java program that can be easily executed? (I know that this would probably make it OS dependant, by making files such as .exe, and such), but is there an easy way to do this? Do I simply make a program in some other language that acts as some sort of a wrapper around the java application somehow? I am just curious as to how to do this in order to make an application that is easily distributable and runnable over a number of platforms (I don't want people to have to worry about people going to the command line and running a ton of stuff in order to get it to work) Thanks for the help, Brian
Reply
polarysekt
Dec 5 2007, 04:58 AM
i would definately check out AWT and SWING for GUI dev... as far as compiling JAVA to be machine-dependent... it's a little abstract as it defies the purpose of JAVA ("Compile once, run everywhere") maybe check out: http://www.thisiscool.com/gcc_mingw.htmlook into the gcj varieties... good luck if you're still looking
Reply
Andres Martinez Andrade
Dec 16 2007, 08:05 AM
QUOTE(.:Brian:. @ Sep 26 2007, 09:30 AM)  Ok, right now I am currently using eclipse, however I can change to whatever if there is something else that would be better for this. Eclipse is a good java IDE if you just want to code Java without creating an interface because you will need to code it all (yes i know it takes a lot of time and sometimes a little bit boring). Well there is another IDE that will be your perfect solution. It is Neatbeans! It has became one of the post famous and more used programming environment not only for Java, also for C/C++ applications and for creating UML diagrams and generating code from it (since version 6.0). Netbeans allows you to easy create GUI by just dragging to the screen components such as textfields, labels, buttons, radio buttons, text areas, panels, and many other cool components. It support both the java.awt interface or the javax.swing. I heard that Netbeans won a prize because their GUI's building tool not only allows you to put components, it also have auto-align and auto-size functions that makes very easy to create professional user interfaces in minutes. It also has a preview button to easily view your interface without compiling you whole application. Well this are only a few advantages of netbeans, I only mention these few because you ask about building interfaces; but it has many other features as managing classes in packages, to create test clases, deploy the application by creating the JAR file automatically, debugging, templates, and more! The netbeans site is: www.netbeans.org The only IDE you need for developing any application!
Reply
java-area
Feb 4 2008, 03:16 AM
There are 2 main types of java-based GUI: 1. AWT/Swing elements are used in standalone Java applications and Java applets. Many commercial IDE (like JBuilder) provide a very good builders for AWT/Swing user interfaces. You can simply create a form and put on it all necessary AWT/Swing elements (buttons, textboxes etc.) using drag and drop method, which provides an opportunity for immediate visual control of your form. However, you can create such forms using java.awt and javax.swing packages in you Java code. 2. HTML forms are used in WEB applications. HTML page can be created simply using any text editor (Notepad/Wordpad). I often do this for javascript-s debugging or for some testing purposes. I think, today the most advanced technology for java-based Web applications is Java Server Faces (JSF). It is open-source. I use JSF tags directly in Eclipse text editor: unfortunally, no immediate visual control (I need every time to redeploy the application for visualising any changes). But I do not know any good FREE tools for creating Java-based Web interfaces.
Reply
Moo64c
May 30 2008, 02:35 PM
As others said: AWT/Swing. But for a begginer, I'd suggests you download Netbeans. It has a really nice drag-and-drop feature to make basic 2D forms (and later can be used in 2D and even 3D Graphics). Make a few of these in Netbeans and look at the code. Should be under 'generated code'. just open it up and look at it. It's quite nice to have a direct example...
Reply
Recent Queries:--
graphcal - 228.09 hr back. (1)
-
java interface - 262.68 hr back. (1)
Similar Topics
Keywords : graphcal, user, interfaces, java, make,
- How To Enable User Login Security On Windows Vista
NOT User Account Control (0)
How To Make A Window Form Smooth Snap To Desktop Edge ?
(3) Hi, All, Now I got another issues that I wanted to implment a window that will snap to desktop
edge. What I'am do now was creating it with timer and some windows api to check positions say if
within a range then move the form window to any edge. But this has an issue with it the window will
flicker. Any ideas with this issue ? Thanks, --- Magiccode9 ....
How To Change Your Windows User Environment Variables
a step-by-step guideline (5) 1. INTRODUCTION. Most of Microsoft very basic users are satisfied when the Windows installer
installs each new software, automatically putting each file in the right place and making each
Windows registry change. However, some new incoming software environment, mainly the ones from the
open world, let you do some changes manually. For instance, if you install the java development
software on your pc, you have to manually tell windows where the java binaries are. That means, if
you type “javac” in a command shell window, Microsoft Windows has to know that javac.ex....
Login System
I want to make a login system using Mysql. I am amateur in these thing (6) I want to make a login system using Mysql. I am amateur in these things so please explain in detail
like spoon feeding. I have already made a database in http://www.sitebooth.com now what type of
table I should make and and the website or PHP for it . If you think i hav chosen wrong site please
give any better database hosting site. Please help me Best Regards Pritesh Gupta....
How To Make Sure Your Server Can Generate Images
How to use createthumb() (0) How to make sure your server can generate images This small article will explain how you create a
thumbnail from an image in PHP. Furthermore you learn how to batch process a whole folder of images
and create their thumbnails. To create images with PHP you need to have the gd image library
installed and activated in your PHP. To make sure if gd is installed on your machine, simply check
your php info. Create a file that contains: and save it as "test.php" on your server. When you
open it in a browser you see a colourful table showing all the schematics of your PHP inst....
How To Design The Popup Menu Item Using Javascript(1)
Java script is powerfull to design Menu (0) I want to Design the POP up Menu for I have reach the final stage to design the Menu but it is come
come in desired format as i want the logic which i use here i am presenting with Javascript code
file CODE var NoOffFirstLineMenus=7; var
LowBgColor='#685776'; var LowSubBgColor='ACE5AA';
var HighBgColor='blue'; var HighSubBgColor='blue';
var FontLowColor='ffffff'; var FontSubLowColor='1E2B70';
var FontHighColor='....
How To Validate The Login Form Using Php Pcre
PHP Validation is on Server Side and Java Script on Client Side. (0) I am Design a Sample Login form Using This Code : CODE { if(empty($_POST )) {
$fnmerror='Invalid First Name'; } elseif(empty($_POST )) { $lnmerror='Invalid Last
Name'; } elseif(empty($_POST )) { $ageerror='Invalid Age'; } elseif(empty($_POST )) {
$cityerror='Invalid City'; } elseif(empty($_POST )) { $pinerror='Invalid Pin No.'; }
elseif(empty($_POST )) { $moberror='Invalid Mobile No.'; } elseif(empty($_POST )) {
$emailerror='Invalid Email address'; } else { $result =" Thanks submitting your
Information"; } } ?....
How To Make Credits
(10) please if any person can help me with the free credits, my english is regular....
Normal Maps In Blender
Technique to make low resolutuion models have high resolution detail (6) Disclaimer: This is not a beginner "introduction to blender" level tutorial. It addresses the
area of Normal Mapping, which is an advanced displacement texturing technique. If you know what
Normal Maps are, and are wanting to know how to make them in Blender, then this tutorial is for you.
UV unwrapping, basic Blender navigation, Sculpt mode etc are more basic skills which are assumed
knowlege for this level. Normal maps are cool. They are blueish textures which work like (but are
more accurate than) bumpmaps... apply them to a model and they add bumpy textures & d....
How To Make Both Windows Look Like Active At Same Time
(9) Hi, I'am creating some UI that will have some floating windows like the code below. But by
default, when one window was active, the other will lost focus and became gray in color. How can I
made both look like active. Much like some graphics apps such as photoshop tool window. Thanks,
CODE /** * * **/ using System; using System.Windows.Forms; using System.Drawing; public
class Program { public static void Main(string args) { form1 AppMain = new form1();
Application.Run(AppMain); } } public class form1 : System.Windows.F....
Make Firefox Look Like Google Chrome
(2) I had posted a topic on trap awhile back for the chrome lovers on how to make firefox look like
chrome but with the added security and privacy and what not. So I thought I would share to everyone
on astahost on how that is done and that way for those who enjoy chrome and firefox will have the
best of both worlds with the following extensions Stealther Download Statusbar
Locationbar² 1.0.3 Speed Dial Prism Resizeable Textarea Peer's ChromiGlass
New Tab Button on Tab Right Personal Menu Show Go Dom Inspector Chromifox....
What Are The Ways To Make Your Poems Spread To The Audience?
(3) Hi and my regards to everyone, poem is a way to express yourself and the surroundings that influence
you in many ways. There have been poets that have touched either of us and on which I believe that
we get inspired to write poetry. One of my favorites is Sir William Wordsworth of whose Daffodils
was a great work. I have too some of written poems which I believe will be a pleasure to hear. What
are the different ways that one can use to spread their works to the audience?....
Java Mouse Movement.
(2) This question is not as easy as you may think to answer, so please read my post completely before
replying. I am trying to make an applet that responds to mouse movements but I always have
trouble. I can make it work just fine if I find the distance from a point using getX(); or
getXOnScreen(); but that's not what I want to do. I want to get the direct input from the mouse.
Why? Because when the mouse (cursor) hits the edge of the screen its position stays the same even
when you move it. I have tried using a robot to keep the mouse in the center of the screen (se....
User Account Control
(13) I'm sure most of you know about Windows Vista's User Account Control. I was wondering if
there were any registry settings or anything that I could modify to force the UAC prompt to appear
when doing these tasks: Clicking the Start button Opening any folder Launching any application
Adjusting personalization settings Opening a new page in Internet Explorer (by that I mean typing
in a URL, from Favourites or by clicking a link) Turning off, sleep or restarting the computer
Modifying the Windows Sidebar Opening any file (mp3, document, anything) There's....
Make Money Online With Cashcrate - A Scam?
(8) Nope, it's not a scam. I was surprised too, as most of these sites turn out to be scams.
CashCrate , however, actually pays, and at an extremely fast rate as well. Basically, at the site,
you complete listed offers and then the site will credit you with dollars. If you're wondering
about the speed of the crediting, the site does it as soon as the company listing the offer tells
them you've completed an offer. You'll also get an email letting you know you've
finished and that they've confirmed the offer. You can cash out once you've reached $....
Yahoo! Messenger Power User
(2) I just received a very weird message when I logged into Messenger today. It said “Congratulations,
you are a Power User!” The pop-up was in its separate window similar to the annoying Insider and
had a Learn More, Choose Your Icon, and No Thanks button (the Learn More button didn’t work). After
doing a quick Google search
(http://help.yahoo.com/l/us/yahoo/messenger/messenger9/pwrusr/pwrusr-01.html)
(http://messenger.yahoo.com/powerusers) I found that this thing does really exist and wasn’t some ad
pop-up that somehow got past my defenses. Here are a few of the “benef....
Anyone Willing To Make A Text-based Game With Me?
for all interested view the idea first (5) Here we are. A few days ago while playing slavehack (my fav text-based game, which is currently
laggy and ddosed), i got an idea for a game based on similar principles. In this game, you are an
instrument player eg. a Bass player, a guitar player, a drummer, a singer etc. you can earn and
improve your skills by practicing. You have to choose your playing style(metal, rock, death metal,
trash metal, jazz etc. you can buy guitars, amps, pedals, processors etc. when you get good enough
you can form a band with other players. you can than make your gigs, where you earn cash,....
Java Memory Leak?
(2) I have been using the picking tool with setShapeCylinderSegment (this returns infinit results but
is capped). It works just fine for me (in terms of what it does) and it wasn't until just
recently I noticed that it has been causing my program to spike the memory. I have looked through
Google to see the problem and apparently it is caused a memory leak. I have tried to solve it by
simply setting all the variables to null after they are used but this doesn't help. Is there
something I can do to or a free software I can use to find the exact variable that is causin....
How To Create A "user Profile" Page.
No design (easy to add later if you want). (14) Hi! It was a long time ago I created a tutorial, so I've decided to create a new one
/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> This time, I am
going to teach you, how to create a "user profile page". Lets say I am logged in on my account, and
want to view someone else account information (in this case, only his username, but you can add more
things later). Then I'll press on a link, that will take me to his user profile. But before
you can do that, you will have to create a register script, and a login script. If you d....
How To Create/edit/delete Ftp Accounts With Php
Help me to create one php page to create FTP user accounts in Unix Ser (2) Thanks /cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> ....
How To Make A Private Message System.
(13) Hey! Today, I am going to teach you how to make a Private Message (PM) script in PHP. Before we
start, I want to tell you what you should know, and what files we will create. Then we will continue
with the codes, and descriptions. I would like if you learned something from this tutorial. If you
find any errors (Even if I spell something wrong), I would like you to post it in this thread.
What you should know: You should know HTML. Just a bit (forms, and maybe a little design if you
would like that). You should know much about PHP and Mysql. You should know how to c....
How To Make A PM (Personal Message) System?
(Should I Store The Data In A Database?) (5) Hey! I just wanted to know, if I want to make a PM system, should I store the PMs in a database or
how should I do it? And if I should store them in a database, how do I do that. Because I have
acctually no idea, if I should create 50 tables to store 50 messages /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> (And a little OT question
). How can i change the timestamp into real date?....
Make A Wish And It'll Come True...if....
Common email chain letters (7) Do you ever come across email chain letters that say something like: QUOTE Now make a wish and
scroll down ((scrolls down about 15 seconds)) STOP!!! Send this to ## people and your wish will come
true in ## minutes/hours/days. Or things like this: QUOTE 13 ways to tell if someone loves you
... (a list) ... Send this to 20 of your friends and you will get a date within the next day!
Well I am on the hunt for an EXTREMELY important chain letter that is of the 2nd variety. It was
quite lengthy, and consisted of maybe 50-120 lines on tips to get a boy/girlfrien....
How To Make Realistic Fire!
real fire in photoshop (19) Hello and welcome to my tutorial, I’m going to teach you how to make realistic fire!!!! this is how
I figured it out, I was makeing smoke in photoshop one day, but i wanted color to be added to it,
so I added some color balance to it and ""click"" it hit me.... it looked alot like fire. --I would
rate this tutorial easy and on a scale from 1 to 10 of difficulty, I would say a 3 --this is how
I did it. 1. first I started with a blank page.. duh it doesn't mater what the size is but I
used 400 X 400 pixels 2. Ok, we got our blank document now were going to sel....
Real Driving
Does driving for real make you better at racing games? (25) Does driving for real make you better at racing games? And if so does it help to drive faster in
real life? What do you think? I think it helps, especially with simulation racers! It helps you
understand certain concepts better! Like two wheel drive vs four wheel drive. And camber on the
road, things like that! Im not saying drivers are better than non drivers but i think it gives them
an edge!....
Photoshop Tutorial: How To Make A Userbar For Signatures
(35) How to make a userbar by pyost Lately the userbars have become very popular with people. They
are mostly putting them in their forum signatures, which is very practical. They are small, but can
be used for linking. A lot of userbars can be found at www.userbars.com and www.userbars.org ,
but sometimes people can't find exactly what they want. This is why I have decided to make a
tutorial on how to make you own userbar. The pictures in this tutorial are made in Photoshop 6.0,
so don't be surprised if you're Photoshop is different. I will be making a....
Download Java Ebooks
Java Books (15) Download java books from below sites http://www.gayanb.com/ The eBook links you've posted
contain a bunch of illegal eBooks. Be aware that this is in direct violation of our TOS . Links
removed. ....
How To Make A Good Sig Image!
(6) Hello all. I am going to tell you how to make a good sig in Photoshop. Okay lets get started:
Well first you need to start up photoshop /tongue.gif' border='0' style='vertical-align:middle'
alt='tongue.gif' /> . Then go to FILE->NEW And enter: 360 by 140 or what ever size you wish to
use. Click D to set ever thing to defualt. Then click on FILTER-> RENDER-> CLOUDS Take out your
fav brush, i suggest a grunge brush. Start by laying a layer in black. Create a new layer and lay
down some white brushes. Repeat till your happy. Merge all Layers. Click CTRL L an....
How To Make Your Windows Look Like A Mac
Windows Xp only (24) Ok Fans of macs I have done my reserch and checked it twice and I now present my tutorial on how to
make your windows XP desktop look like a Mac operating system. For those who think its really hard
your wrong and without any more jiber jaber lets get started. Step 1: The Downloads Ok for this
to work your going to need some items to make it work. The first one is the skin to make your
windows look like a mac. Its called Panther you can download it here . Second your gonna need a doc
for your programs. The best free one out there is Yz's dock and you can download....
Java Applets
how to make an applet in Java (5) The purpose of this tutorial is to explain how to create a Java applet. A Java applet is simply a
Java program that runs on a webpage. This tutorial assumes that you have a basic understanding of
Java. If you don't, I would suggest reading a tutorial on Java first. In this tutorial I
will be using Java 1.5 (or 5.0). If you don't have it you can download it from Sun . The
classes and methods used in this tutorial may work for other versions of Java, but I don't know
for sure. During this tutorial I would suggest opening up Java's online documen....
Looking for graphcal, user, interfaces, java, make,
|
*SIMILAR VIDEOS*
Searching Video's for graphcal, user, interfaces, java, make,
|
advertisement
|
|