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 3 of 3

Thread: Someone needs to explain to me like I'm a kid. (Java database and Forms)

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Location
    England
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Someone needs to explain to me like I'm a kid. (Java database and Forms)

    This is driving me insane.

    I have created a simple database table using the Netbeans Database service. Its the usual - Employee workers table - FIRST_NAME, SECOND_NAME, AGE, JOB_TITLE, SALARY... etc etc.

    I have used SQL commands to gather certain data from the table, E.g. select * from FAZRAZ.WORKERS where SALARY < 30000.....

    So separately, I have used the Netbeans design view feature to create and design a JApplet form.

    I'm probably going about this completely wrong but how the ******************* do I get the data from the database table I made into that damn form.

    Thanks for any help. I'm a complete beginner.


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Someone needs to explain to me like I'm a kid. (Java database and Forms)

    Hi, please post the code you are having problems with, explain what the code does, and what it should do.
    Right now the implied question says "give me working code" which we do not do. Please include your question with the code and we will be happy to assist you in writing your own code.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Someone needs to explain to me like I'm a kid. (Java database and Forms)

    I agree with jps. It also sounds to me like you've created a user interface using Netbeans' GUI Builder, and you don't know what to do with it, how to make it useful. That's a common place to be. The GUI Builder makes creating a decent user interface "easy," but making the interface useful is often more about knowing how to use Netbeans than knowing how to program in Java. Even if I outlined the steps in Java to display db data in the interface, I'm assuming it wouldn't help you, because you don't know Java. And I know Java, but I don't know Netbeans.

    If you want to stay on your current path, then find the Netbeans tutorials that show how to do what you need to do or join a Netbeans forum and ask there. There's an IDE area here on JPF you might try. If you would rather learn to code Java GUIs by hand, then leave the GUI Builder for now and start working the Swing tutorials. Actually, that link may be a good start for either approach, depending on how you execute the lessons there. Even if you decide the GUI Builder is the way to go, knowing how to program some Swing by hand will be very useful.

    Good luck!

Similar Threads

  1. New kid
    By Tmolonges in forum Member Introductions
    Replies: 1
    Last Post: May 23rd, 2013, 03:26 PM
  2. Hide forms in java application
    By jonmuthee in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 7th, 2012, 10:20 AM
  3. Java Forms Using Netbeans
    By oneeye_dragon in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 29th, 2012, 09:08 AM
  4. Replies: 1
    Last Post: December 13th, 2010, 05:13 AM

Tags for this Thread