Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 13 of 13

Thread: Some important questions about java programming

  1. #1
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Some important questions about java programming

    im a student just starting to know more about programming languages..
    about java..
    i dont have enough knwoledege about JL (java language).
    just theories about it.

    first of all . are desktop applications are the systems that VB (Visual basic)usualy do??
    examples are, library systems, offline inventories such as department store inventories. enrollment systems, pay roll systems... are these dektop applications??

    this is my problem regarding with java programming..
    does java have the capabilites of doing these kind of systems?these desktop applications?

    i have some knowledge about java.. that java programming can do such things more than VB can do...or more than any language can do..
    specially in this field of making systems..
    (is it true?)
    and i kwow that having knowledge about java is marketable...
    is that true?

    does java have the capabilites of doing these systems(desktop applications) E.G library systems, more than C++ or VB or C programming etc..?

    coz people usually tells me to study java.. because it is better and it can do a lot of things than these kinds of languages.

    to be simple is java better than VB?or any programming languages?

    as a starter. which one would u prefer for me?

    i want to focus FIRST at making these systems or making desktop applications.such as enrollment systems.
    ticketing systems. payment systems, (things that VB can do )
    and after that i will go and hop in web publshing.

    can i rely on JAVA?

    please nid some answers here... tnx for your respone .. i hope my statements are enough to have some good advices...


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: hi guys.. im just a new member here.. just want to ask something

    Hello chronoz13 and welcome to the Java Programming Forums

    I think the majority of desktop applications are written in Visual Basic / C#

    These languages seem to be a lot more suited to desktop application rather than Java. In my experience, writing Java desktop applications is a very long winded process. I have also used many Java desktop applications and they never seem to be quite as good as you would expect. But that is just my opinion. Plus, you have understand you cannot compile to a .exe with Java.

    Java is a very powerful multi-platform language and it really comes into its own when writing console applications. Thats why you will find Java in Banks and on Unix machines.

    But dont get me wrong, Java is more than capable when it comes to programming desktop applications. IDEs such as Netbeans (Welcome to NetBeans) allow you to easily create GUIs in a very similar way to Visual Basic.

    If you are new to programming and are looking to write desktop applications then I would say go for Visual Basic first. I don't think it is really worth learning Java for this purpose to start off with. When you get to a level where you want to take things a step further, Java is the way to go.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  3. #3
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: hi guys.. im just a new member here.. just want to ask something

    As I'm aged 17 and never had any formal programming experience i'd like to give you my input. Since I'm pretty much at the same stage as you.

    C/C++ are VERY powerful languages, and ultimately will win when it comes to most things. games programming sis almost done in C/C++ and assembly.

    When it comes to windows Programming if you are after Rapid Application Development (RAD) then C# is a very nice method, it uses the .NET framework much like VisualBasic, but is a much more advanced language, similar to Java. It is not too complex to learn and is much more efficient than VB.NET. I would stay Well clear of VB for anything other than learning programming methods and ideas.

    C and C++ don't have a natice method of implementing GUI. If on windows you will most likely program directly using Win32 API. Or you can use C++ and (Managed) CLR Code which uses the MFC (Microsoft Foundation Classes) which are a wrapper around the Win32 API to make it easier for you.

    Java has very good ground as web technology due to it's Applets, also it's easy of cross platform...compile down to byte code once, run anywhere makes it very good for cross platform applications. Since having the JRE installed on your machine is becoming and almost need, there is no problem with people not having it.

    Where C/C++ are cross platform, you need to write different implementations for everything. The basic language it's self is fine. But anything that you would have to use higher level API such as the Windows API for you cannot do on Linux, so you would have to re-write it to function with POSIX the Linux equvilant.

    Python is a scripting language, which is perfect for learning programming techniques, then you could swotch onto a higher level language such as Java, C/C++ at a later date when you have the basics down to a good level. Then it would just be a ase of learning Syntax.

    Hope this info could help you

    Regards,
    Chris

  4. #4
    Junior Member Jchang504's Avatar
    Join Date
    Nov 2008
    Posts
    28
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: hi guys.. im just a new member here.. just want to ask something

    If you do want to make a desktop application with java, it is pretty simple by creating a .jar file which will run just like another executable file.

    Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)

    This looks very complicated, but read through it, and you'll realize it's easy. All you have to do is create a short manifest text document, and make sure u include all the files you need (all the classes and pictures, external files, etc.) when you type the command that will create a .jar in command prompt.

    However, if you're not looking to really get into java programming, perhaps visual basic would be better. You can also use and IDE like JavaPF said.

  5. #5
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: hi guys.. im just a new member here.. just want to ask something

    tnx guys. sirs. i owe you a lot..

    no jchang. i really want to get my self in java, its just that i want to fully understand the fundamentals and basics of java first,and javas capabilites.

    i want to make this as my stepping stone(writing desktop applications such as the examples that i have said on my first post)

    just in case i have decided to go more further. then it wouldn't be a burden for me , because i have already have backgrounds with java,

    i do not intend to disregard VB because i know a bit about its capabilities. its just that i want to put my self in java. and start do the things that VB can do.. so just in case i would step in another level,, it wont be so hard for me.
    java is programming -
    while
    VB- writing applications-
    is this ryt? hheheh

    thats why i've asked a very noob questions. heheheh

    i hope you understand my concern..
    can't express my self well enough
    anyway tnx so much

    tnx tnx tnx! i appreciate your responses ..
    Last edited by chronoz13; April 1st, 2009 at 02:51 AM. Reason: lack of information, spelling corecctions

  6. #6
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: hi guys.. im just a new member here.. just want to ask something

    Hello chronoz13,

    It looks like you are very interested in Java so you might aswell dive straight in!

    The best place to start and I'm sure this is where we all started, is at the Sun Java tutorials:

    The Java™ Tutorials

    I would follow some of the tutorials there. Write your first "Hello World" application. Get familiar with Java and the programming logic. Once you get the basics you can start to write more advanced applications.

    Unlike Visual Basic, creating Graphical User Interfaces which you need for Desktop applications requires a lot of code. In Java, you code the GUI using Swing.

    Trail: Creating a GUI with JFC/Swing (The Java™ Tutorials)

    This can be very complicated to start off with. Creating Swing GUIs becomes a lot easier with the Netbeans IDE:

    Download Java SE Development Kit 6u13 with NetBeans IDE 6.5.1 Bundle

    Netbeans has a 'drag and drop' feature which is very much like Visual Basic. It allows you to drag Swing components onto your program and all the code is automatically added for you.
    This saves a lot of time!

    Seeing as you will start off writing console applications, I suggest you download the Eclipse IDE first. I have written a beginners tutorial here:

    http://www.javaprogrammingforums.com...plication.html

    See how far you can get and when you are stuck or need a guide in the right direction, post back and I will help you the best I can

    Good luck!
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  7. #7
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Smile Re: hi guys.. im just a new member here.. just want to ask something

    tnx sir JavaPF

    yes sir.. i realy want to put my self in java.

    i know that java programming is very complicated when it comes on my concerns (my posts)


    the only thing is ..

    "your interest could make it easy for you"...


    -i hope i dont bother you so much on my nooby questions.. tnx a lot sir...!






    actually sir . im a freshmen student taking up information technology..
    and i've alreay taken a java programming subject and i know a bit about java basics ,as in BASICS hehe.

    loop exercises, if else statements,, usually we make programs that runs in a CONSOLE.Then my proffesor told me to dive in even more in java,

    thats why im asking so many questions..
    Last edited by chronoz13; April 1st, 2009 at 06:00 AM.

  8. #8
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

    Default Re: hi guys.. im just a new member here.. just want to ask something

    That quote that your interest in Java will make its easier is true.

    Do not underestimate console programs. The only thing you don't have is a GUI. But when it comes to writting alrogithms and things quite often you will find that you will implement it in a console application first, and then apply a GUI to it.

    Don't worry about asking newbie question, we were all there at some point. We don't mind answering them, it's what we are here for. Plus it means the answers are avaliable to others without them having to ask, I hope to see you posting and getting invloved.

    Chris

  9. #9
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: hi guys.. im just a new member here.. just want to ask something

    its been a week since my last post here in your forums. i had some log-in problems.. i don know why.. i used to chat in a computer cafe and i tried to log-in my account in different units. and the same problem occurs..
    although i log-in my account (username and password) i still cant log-in .

    i tried to search your website in google. not in yahoo. fortunately im here..

    i still have so many questions




    ahm.. im still new at java.. but because of the things that you have said..
    i have quite a liitle understanding about this language..
    and i know that java is capable even in web-apllications such as .web publishing, web development...

    ahm my questions is..

    i want to study first the basics of JAVa language..
    and also i want to study web-publishing..

    where should i start first sir?
    basics programming concepts?
    and later on..
    will it lead me in web publisihing??
    and . is java language differs from javascript..

    im so confuse..

  10. #10
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: hi guys.. im just a new member here.. just want to ask something

    Hello chronoz13,

    I'm not sure what is causing the login problem. Once you log in and are redirected to the index screen, does it show that you have not logged in? Once you login again and are redirected, click the main logo at the top left of the forum, this should refresh the page and show you as logged in. It would be worth clicking the 'Remember me' box. This happens to me sometimes too.

    The place to start learning the Java language is the Sun Java Tutorials:

    The Java™ Tutorials

    You MUST go there first. This site covers everything to do with Java right from the very begininning programming concepts. After reading the first few pages you will know all about Object Orientated Programming (OOP) You will learn lots and lots here. Please work your way through these tutorials and you'll see what I mean.

    Once you have read these tutorials and understand the basics, you can move onto web publishing.

    There is a very good e-book all about this here:

    http://www.javaprogrammingforums.com...-new-post.html

    But you will not understand any of this just yet.

    Yes Java is a totally different language to JavaScript. The syntax is very similar but it is still a different language.

    A good explanation can be found here:

    Java vs. JavaScript
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  11. #11
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: hi guys.. im just a new member here.. just want to ask something

    thanks sir JAVA!!

  12. #12
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: hi guys.. im just a new member here.. just want to ask something

    ..............sir java i red the statements made by Joe burns about those two languages

    Both will create great Web page events. Both can offer interaction between the user and your Web page. But they are not created equally by any means.

    so what i chose is right .
    i should go first with java of course i need to know more about programms ,to applications..
    and later on it will lead me to web publishing..

    java is also capable of making web-page but the only problem is it will take lots of time..

    thats when java script takes its place..
    but ,
    java can suit my needs than javascript because JSript is made for web applications.

    but java can do desktop applications like what i post recently..

    am i right sir?
    Last edited by chronoz13; April 9th, 2009 at 08:08 AM.

  13. #13
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: hi guys.. im just a new member here.. just want to ask something

    Yes, you can program desktop applications using Java Swing.

    Trail: Creating a GUI with JFC/Swing (The Java™ Tutorials)
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

Similar Threads

  1. New member
    By 5723 in forum Member Introductions
    Replies: 5
    Last Post: May 11th, 2012, 01:57 PM
  2. New member
    By henry in forum Member Introductions
    Replies: 2
    Last Post: May 13th, 2009, 02:31 PM
  3. New member
    By cowgirl1976 in forum Member Introductions
    Replies: 1
    Last Post: April 20th, 2009, 04:30 AM
  4. NEW: Forum Arcade Games & Member Highscores!
    By JavaPF in forum The Cafe
    Replies: 0
    Last Post: February 3rd, 2009, 05:54 AM
  5. A SCJA member
    By Eric in forum Member Introductions
    Replies: 0
    Last Post: November 27th, 2008, 11:32 AM