Jump to content

Starting with BlueJ

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
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!

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
A good start would be to read the official BlueJ tutorial.

#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
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
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
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.

#5
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I'm going to download NetBeans, hopefully it is more user friendly.

#6
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
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
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well a GUI would be very good! I like apps that have a GUI!