Ok I am trying to start Java, my friend told me to install the JDK and BlueJ.. But now I have no idea what to do! Where can I find some tutorials.. and after making a program how do I run it? only from the Command Promt? Isn't it possible to make a windowed (GUI) application?
Thanks!
Starting with BlueJ
Started by TcM, Nov 29 2007 05:53 AM
6 replies to this topic
#1
Posted 29 November 2007 - 05:53 AM
|
|
|
#2
Posted 29 November 2007 - 06:29 AM
A good start would be to read the official BlueJ tutorial.
#3
Posted 29 November 2007 - 09:30 AM
I tried to read that, but it took me to nowhere... but I found a tutorial to make a java applet and write hello.. it is quite complicated.
#4
Posted 29 November 2007 - 09:57 AM
You can create GUI's but Swing is known to be a bit of a pig when it comes to syntax and there are all sorts of gotchas about threads and that. It really is easier to learn from the CLI in my experience. Just far simpler to create a program that takes arguments from args[].
Take a simple example like fib. You could do something like 'java fib 10' from the CLI to basically test a program outputting fib(10). This can be coded in about a line or two. Doing a GUI for this would take a huge assortment of code. Even a GUI editor would take much longer.
Take a simple example like fib. You could do something like 'java fib 10' from the CLI to basically test a program outputting fib(10). This can be coded in about a line or two. Doing a GUI for this would take a huge assortment of code. Even a GUI editor would take much longer.
#5
Posted 30 November 2007 - 11:03 AM
I'm going to download NetBeans, hopefully it is more user friendly.
#6
Posted 30 November 2007 - 11:19 AM
Netbeans has a BlueJ module BTW if you want to find out how that looks. Also Netbeans has a GUI builder if you really want to use a GUI.
#7
Posted 30 November 2007 - 11:27 AM
Well a GUI would be very good! I like apps that have a GUI!


Sign In
Create Account


Back to top









