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: Absolute newbie question

  1. #1
    Junior Member
    Join Date
    Jan 2023
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Absolute newbie question

    Hello everyone!

    I am entering this world of JAVA and programming as well and I would like some advice on how to approach this from a logical point of view and thus be able to start.

    I want to generate a code that has these components:

    1- A field where I enter "name1" and another field where I enter a "number1"
    2- A field "number2"
    3- A "+" button that adds two other fields equal to that of point 1, but below (as if it were an excel spreadsheet and the rows are completed) and also performs a calculation (number2/number of rows) x number 1
    4- Show the result in a "number3" field

    I hope you can help me
    Thanks!
    MyVDB.-

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    24,929
    Thanks
    59
    Thanked 2,697 Times in 2,647 Posts

    Default Re: Absolute newbie question

    What have you tried?
    Please be sure to wrap any code you post in code tags to preserve formatting.

    First design the form's layout
    Then design what actions to take when the user takes some actions to tell the program to do something.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    24,929
    Thanks
    59
    Thanked 2,697 Times in 2,647 Posts

    Default Re: Absolute newbie question

    Also posted here: https://coderanch.com/t/769041/java/absolute-newbie

    Please read: https://coderanch.com/wiki/660346/Wi...-Posting-Sites
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. An absolute newbie looking for Java JDBC code/query help ?
    By Charlotte in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 28th, 2018, 08:23 PM
  2. newbie Question.....
    By Haseo in forum Java Theory & Questions
    Replies: 1
    Last Post: August 31st, 2012, 07:52 AM
  3. newbie Question.....
    By Haseo in forum What's Wrong With My Code?
    Replies: 9
    Last Post: August 22nd, 2012, 08:10 AM
  4. Newbie Question
    By mmazur in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: August 15th, 2012, 10:15 PM
  5. [SOLVED] Absolute Beginner Here, should be an easy question for anyone really.
    By Harrald in forum What's Wrong With My Code?
    Replies: 27
    Last Post: July 31st, 2012, 09:40 PM