Results 1 to 10 of 10
Like Tree1Likes
  • 1 Post By Raaj

Thread: New To Java

  1. #1
    Raaj is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Lightbulb New To Java

    Hello All

    Well, I have been learning Java since 6 months, before Java, I know, C, C++ and VB-6. To be frank, till now, I haven't done anything to which I can refer to as Software Designing. What I have been doing is writing simple programs. To mention here, I am a self learner, I learn from books and stuff available online. I wonder, how do people develop software.

    I have seen many people (learners) asking for help and the responses they get are - Post your code what you have written. In such a case for people like me who want to start something from scratch seems to be waste to be in experienced java users .

    Still, I guess, there would be other people like me struggling to get a take off from scratch. So here is a call for all those who find themselves in same position as of me. Calling out people (like me) who knew java basics who are ready to start this way, please reply here, so that we can discuss, decide and move on to developing some simple project on similar interests.

    Will be highly thankful to Experienced Java Programmers to guide me (us in case I found people like me ) and be mentor(s). What I want is a mentor(s), who could guide me through out the process (no doubt, I would be writing code myself). Wherever needed, I would study and research the topic/subject needed to be.

    Thanks in advance.
    Last edited by Raaj; 12-26-2013 at 01:39 PM.
    Nay Aye likes this.

  2. #2
    Raaj is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Re: New To Java

    No replies

    So, I have to start from somewhere.

    I have an idea to start a database project for small printing shop, where I could record the orders received, type of order, its description, its rate, amount etc. along with maintaining customer information.

    I have two questions in mind to start with. Hope to get answers.

    1. Have seen lot of java program examples applying gui with written code while we can do that with awt or swing in netbeans. Why do people prefer writing their own code for gui?

    2. Shall I design user interface first or the database?

    Any experienced, java programmer willing to be my mentor in this tour? I would post my daily progress in my thread for suggestion/correction/guidance.

    Regards

  3. #3
    superhaNds is offline Senior Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    264
    Rep Power
    2

    Default Re: New To Java

    1. You mean that they use a builder for the GUI in some IDE. You still use swing API which has the tools for building the GUI (awt not so much anymore).
    You can use it, but you should understand what is happening in the code this thing spits out. It's not hard, building GUIs in Java, it just takes time if you write it manually. Before
    you use it however, you should know about how it is done.

    2. If you want a database then that would come first I suppose (at least the design, the ERD most importantly). You could also just Save the data in files.

  4. #4
    Raaj is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Re: New To Java

    Ok.

    That means, for better understanding, I would learn to use gui designing through code instead of using objects from the toolbar. Thats fine. Have done it but not practiced much on it. But its a good idea as it helps memorizing things.

    About database, you mean, I must design database first? Since, I haven't undergone any course for it, earlier in vb 6, i used to design the user interface (that is screens those would be visible) and design database later on with hit and trial method. But if its in the spirit of the right way of coding, I would follow your suggestion and come up with a detailed study of the project, I have in mind.

    Thanks n Regards.

  5. #5
    superhaNds is offline Senior Member
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    264
    Rep Power
    2

    Default Re: New To Java

    You can follow the GUI guide of a book, do some examples, understand components, lay out managers and listeners etc. and then work in a GUI builder for your project.

    for the database, sorry, I just assumed you were going to build a relational database following the formal way of doing so. The UI is not part the db per se. You design, implement the db, afterwards you work with the actual application
    you need to connect it to the db. At least this was the way I was taught.

  6. #6
    Nay Aye is offline Member
    Join Date
    Dec 2013
    Posts
    2
    Rep Power
    0

    Default Re: New To Java

    Hi! me too,self learner :)

  7. #7
    Nay Aye is offline Member
    Join Date
    Dec 2013
    Posts
    2
    Rep Power
    0

    Default Re: New To Java

    hey! how is your java after self learning for 6 month. As for me i've started learning java exactly three days. :)

  8. #8
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,004
    Rep Power
    6

    Default Re: New To Java

    Quote Originally Posted by Raaj View Post
    1. Have seen lot of java program examples applying gui with written code while we can do that with awt or swing in netbeans. Why do people prefer writing their own code for gui?
    Because ultimately it is faster and more flexible than using stupid drag & drop tooling. When learning the stuff there is no other way to go; when you use a GUI builder (which lets face it is a code generator) without knowing how the underlying API works, you will run into problems that you won't know how to fix. Its not perfect technology, its only there to help you do your job. But it can only do that if you actually know how to do your job.

    2. Shall I design user interface first or the database?
    Too narrow. You need to design the application, not individual layers of it. It all needs to fit together.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  9. #9
    Raaj is offline Member
    Join Date
    Dec 2013
    Posts
    4
    Rep Power
    0

    Default Re: New To Java

    Quote Originally Posted by gimbal2 View Post
    Because ultimately it is faster and more flexible than using stupid drag & drop tooling. When learning the stuff there is no other way to go; when you use a GUI builder (which lets face it is a code generator) without knowing how the underlying API works, you will run into problems that you won't know how to fix. Its not perfect technology, its only there to help you do your job. But it can only do that if you actually know how to do your job.
    Appreciate your detailed reply that one should know what is happening in the code rather then generating code automatically by placing components in the frame. After having your suggestion, I started reading books especially swing chapters and I must say, I feel like jumped into the sea without parachute (that is without any mentor) because, no book covers swing properly, mere giving a small example, writers seems to be in hurry to jump onto the next topic. The more books a beginner like me refers goes into confusion, (every book have its own way).

    Too narrow. You need to design the application, not individual layers of it. It all needs to fit together.
    Now since, I am stucked in GUI, I dont know how to tackle this situation. Have tried some code from books but they fails to explain GUI except for the little code which I guess is very less for beginner to start with.

    One think, I would like to be explained, do I really need to bother about whats happening when I place components on the frame (that is if I use GUI builder?) After all, what matter is the code one write for methods. Do all programmer spent lot of time writer their own code for creating GUI?

    Regards

  10. #10
    zFollette is offline ▼ dafuq did I do?
    Join Date
    Dec 2013
    Posts
    203
    Rep Power
    0

    Default Re: New To Java

    Quote Originally Posted by gimbal2 View Post
    Because ultimately it is faster and more flexible than using stupid drag & drop tooling. When learning the stuff there is no other way to go; when you use a GUI builder (which lets face it is a code generator) without knowing how the underlying API works, you will run into problems that you won't know how to fix. Its not perfect technology, its only there to help you do your job. But it can only do that if you actually know how to do your job.



    Too narrow. You need to design the application, not individual layers of it. It all needs to fit together.
    I personally would make the database, along with a command line app, so you could test and use your database without the GUI, then program the GUI around the function of your command line app.

Similar Threads

  1. Java for a beginner
    By ukenpachi in forum New To Java
    Replies: 1
    Last Post: 10-19-2013, 02:51 AM
  2. Beginner in Java - need some help
    By ea09530 in forum Advanced Java
    Replies: 4
    Last Post: 04-05-2010, 11:47 PM
  3. java beginner
    By devstarter in forum New To Java
    Replies: 4
    Last Post: 03-03-2010, 08:39 AM
  4. Java Beginner needs help!!
    By Polyy in forum New To Java
    Replies: 4
    Last Post: 11-23-2008, 02:11 AM
  5. beginner to Java
    By notwist in forum New To Java
    Replies: 15
    Last Post: 04-18-2008, 09:41 AM

Posting Permissions

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