Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By KevinWorkman

Thread: Java and Visual Basic

  1. #1
    knightwriter is offline Member
    Join Date
    Nov 2011
    Posts
    49
    Rep Power
    0

    Default Java and Visual Basic

    Hi all. I've been working hard on a text base rpg game in Java using the console. Next semester in my CIS program I'm learning Visual Basic. I thought I would get a jump on it and started making a text based rpg in a gui environment. After working on this in the designer mode in VB it occurred to me that Java is similar with JForms, buttons, labels, and such so that I could possibly make a text based rpg in Java using a gui environment as well.

    My question:

    Can the JForms allow for drag and drop design and then do the coding by double clicking on various components with the JFrame? If both Java and VB work in a similar fashion to design programs what would be the big difference between the two programs?

    Second question:

    This is an aside, but something that I thought of while writing this question. In the industry do people normally stick to one language? I am gaining some ability with Java, but will be learning VB and C++ next semester. I would hate to lose the fluency I've gained with Java. If you do use multiple languages, what do you do to not lose some of the information that you've learned about that language?

    Thanks for all the help and advice.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,702
    Rep Power
    8

    Default Re: Java and Visual Basic

    Quote Originally Posted by knightwriter View Post
    After working on this in the designer mode in VB it occurred to me that Java is similar with JForms, buttons, labels, and such so that I could possibly make a text based rpg in Java using a gui environment as well.
    You absolutely can!

    Quote Originally Posted by knightwriter View Post
    Can the JForms allow for drag and drop design and then do the coding by double clicking on various components with the JFrame?
    You could use a gui builder for that, but generally that's not recommended for novice users. It's really, really, really important to understand what's going on under the hood with Swing.

    Quote Originally Posted by knightwriter View Post
    If both Java and VB work in a similar fashion to design programs what would be the big difference between the two programs?
    You might want to start here: Comparison of programming languages - Wikipedia, the free encyclopedia

    Second question:
    Quote Originally Posted by knightwriter View Post
    This is an aside, but something that I thought of while writing this question. In the industry do people normally stick to one language? I am gaining some ability with Java, but will be learning VB and C++ next semester. I would hate to lose the fluency I've gained with Java. If you do use multiple languages, what do you do to not lose some of the information that you've learned about that language?
    Programming languages are a lot like tools: different languages are suited for different jobs, just like different tools are suited for different jobs. You wouldn't use a hammer to screw in a screw, and you wouldn't use a screwdriver to hammer in nails! Learning how to use both a hammer and a screwdriver doesn't cause you to lose your knowledge about one- in fact, it increases your understanding of both! Somebody who only knew how to use a hammer would look at everything as if it was a nail. This same thing happens with programming languages- if all you know is Java, then every problem you come across looks like a Java problem, even if it's not (I am very guilty of this). Generally, the more programming languages you're familiar with, the better. But there's a fine line between becoming familiar with many languages and not gaining any in-depth knowledge in any of them, so most people have a "favorite" language that they focus on.
    Fubarable likes this.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    knightwriter is offline Member
    Join Date
    Nov 2011
    Posts
    49
    Rep Power
    0

    Default Re: Java and Visual Basic

    Thanks for the help Kevin. I appreciate it. As a follow up to the second question: Is there a site where students such as myself can learn more about the programming industry. I've already googled/youtubed a day in the life of a programmer, but I would like to know more about what/how programmers go about committing code to the main program and breaking down section of a design to each programmer or program team.

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,702
    Rep Power
    8

    Default Re: Java and Visual Basic

    Quote Originally Posted by knightwriter View Post
    Thanks for the help Kevin. I appreciate it. As a follow up to the second question: Is there a site where students such as myself can learn more about the programming industry. I've already googled/youtubed a day in the life of a programmer, but I would like to know more about what/how programmers go about committing code to the main program and breaking down section of a design to each programmer or program team.
    I'm not sure you're going to find something like that, as each team and programmer is different. A lot of people and teams use version control like svn or git. But really, I'd focus on my own smaller projects if I were you.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    knightwriter is offline Member
    Join Date
    Nov 2011
    Posts
    49
    Rep Power
    0

    Default Re: Java and Visual Basic

    Thanks Kevin. I will continue on with my basic projects. I'm excited to be able to eventually get out into the workforce and apply my knowledge to real designs and I would like to be as up to speed and marketable as possible when I get there.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default Re: Java and Visual Basic

    Java is similar with JForms
    Never heard of anything called JForms in Java.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    knightwriter is offline Member
    Join Date
    Nov 2011
    Posts
    49
    Rep Power
    0

    Default Re: Java and Visual Basic

    Quote Originally Posted by DarrylBurke View Post
    Never heard of anything called JForms in Java.

    db
    Sorry, I mean JFrame. I was getting my VB and Java mixed up.

Similar Threads

  1. shared sub visual basic/ java replacement?
    By dinosoep in forum New To Java
    Replies: 3
    Last Post: 08-11-2010, 02:44 PM
  2. Replies: 10
    Last Post: 04-12-2010, 04:33 AM
  3. Replies: 0
    Last Post: 12-08-2008, 02:30 PM
  4. Eclipse launching Visual Basic
    By FireFly in forum Eclipse
    Replies: 1
    Last Post: 10-03-2008, 08:22 PM
  5. Replies: 3
    Last Post: 11-03-2007, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •