Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Confused on how to go from console programs to making something visual.  RSS feed

 
Colby Toner
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, not really exactly much of a question I assume but something stuck on my mind. I've been doing basic java for about 3 months now and I know i'm no where near close to fully understanding the main concepts of java, but I have only been doing console programs. "Hello, World", "Is this true", "Is 2+2= 4" ect. The point of it being that i've haven't exactly done anything outside of the console. I was simply wondering if I would be able to create something that you can see not just read. Or if I need to learn way more about the language before diving into anything too impressive. I've been looking on youtube and other sites for tutorials about creating simple games but most were way more complex then I wanted. I simply was looking for a game that had a square and when the user clicked it, the square turned blue or something very simple in terms of games like such. Also open into any suggestions that anybody may have for learning things that I would need to make a game. Thanks in advance.
 
Les Morgan
Rancher
Posts: 768
19
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Colby
Well, as it turns out we had quite a little discussion on game programming in another link, it just finished today. There are still tons of things for you to learn in Java, as there will probably always be something new to learn. The Java Tutorials can help there and for a reference The Really Big Index is great.

So take a gander at things and see what you need.
Les
Colby Toner wrote:Hi, not really exactly much of a question I assume but something stuck on my mind. I've been doing basic java for about 3 months now and I know i'm no where near close to fully understanding the main concepts of java, but I have only been doing console programs. "Hello, World", "Is this true", "Is 2+2= 4" ect. The point of it being that i've haven't exactly done anything outside of the console. I was simply wondering if I would be able to create something that you can see not just read. Or if I need to learn way more about the language before diving into anything too impressive. I've been looking on youtube and other sites for tutorials about creating simple games but most were way more complex then I wanted. I simply was looking for a game that had a square and when the user clicked it, the square turned blue or something very simple in terms of games like such. Also open into any suggestions that anybody may have for learning things that I would need to make a game. Thanks in advance.


 
S Fox
Greenhorn
Posts: 18
1
Eclipse IDE Firefox Browser Netscape
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the window builder editor in the eclipse IDE is helpful for making GUI programs if you can figure out how to install and use both of those things together. i was making windowed programs after only a couple weeks because i got a book and worked through it, I also learned C first, and took classes too. java is extremely hard and learning C first makes it easier. see if you can take programming classes at a community college, that's a good way to learn.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will disagree that C is necessary in order to get started with Java GUIs.
 
Les Morgan
Rancher
Posts: 768
19
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would also say compared to C, Java is not hard et all.

S Fox wrote:the window builder editor in the eclipse IDE is helpful for making GUI programs if you can figure out how to install and use both of those things together. i was making windowed programs after only a couple weeks because i got a book and worked through it, I also learned C first, and took classes too. java is extremely hard and learning C first makes it easier. see if you can take programming classes at a community college, that's a good way to learn.
 
C Dome
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have install window builder. I also want to learn complex Java programming on creating algorithms, GUI programs, such as facebook OR Amazon OR anything else. Any other tools that can help Java beginners. Any help is greatly appreciated.

Thanks in advance
 
Les Morgan
Rancher
Posts: 768
19
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMO, and many others, if you are using the GUI builder--auto coder--then you are headed for some big trouble down the road. Learn to make the GUI yourself manually, then if you want to use the GUI builder then you can fix problems that it leads you down in the future. In my career I have seen time and time again where a project has been impacted negatively from the auto coder/GUI builder because it gave a poor design that would not support the project goals and the programmer in charge of the GUI could not fix it and flogged the proverbial dead horse until all allotted development time was burned.
S Fox wrote:the window builder editor in the eclipse IDE is helpful for making GUI programs if you can figure out how to install and use both of those things together. i was making windowed programs after only a couple weeks because i got a book and worked through it, I also learned C first, and took classes too. java is extremely hard and learning C first makes it easier. see if you can take programming classes at a community college, that's a good way to learn.
 
S Fox
Greenhorn
Posts: 18
1
Eclipse IDE Firefox Browser Netscape
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually start building my gui in code and then go into the window builder to push things around and see how it looks. the window builder chokes on certain things so i don't totally rely on it, here's one i found earlier today:
comboBox = new JComboBox<String>(s); // remove <String> to make it load in window builder.

basic on the apple2 was my first programming language, i had to unlearn the goto statement once arriving at C. i do think java is really very complicated compared to C, even pointer math and memory management is not so complicated as all the object oriented things you need to learn for java. plus java syntax is longer and harder to remember. public static void main(String[] args) vs void main() !!! System.out.println() vs printf() ... but in my college classes most people are having a hard time in both java and C. they aren't reading the book at all, and they expect to learn only from going to lectures or watching youtube videos. some books for the classes are really not that good either. getting additional books and using those instead has helped me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!