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: need help with basic java.

  1. #1
    Junior Member
    Join Date
    Feb 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need help with basic java.

    Hi.

    Im trying to make a basic java program with netbeans that serves as an "gui" to apply for example a work position or something like that. It requires you to fill fields like name, last name , number, email, password and such and each of these fields needs to have special criteria like name cannot be shorter than 3 letters, email needs to end with .com or .info etc... kind of like the info you need to fill to register to this website with names and such. So far so good I've completed the code for personal data tab.
    It doesn't need to fully work as in to send data to somewhere to check if its true or not but attached with the pics below I hope you could understand what I mean

    Sorry for not being able to attach pics, It seems the attach button isn't working. Here are the links:
    ibb.co/h8sD8Jj
    add the standart http before it

    Don't mind the language just focus on the highlighted places with yellow, the ones where it writes "Shkollimi i mesem i ulet" and the 3 others you have to check. I want to make it so that if you check one of these boxes the 3 other boxes below it, all surrounded by aqua "unlock" and you're able to type the required information. In contrast if you don't check any of these 4 boxes, you can't submit your application; I have a little box on the bottom right functioning as a console displaying outputs such as name is too short... passwords don't match etc. So if none of those boxes are checked meaning you can't fill the information below the console simply displays error or what you need to fill to continue. My understanding of java is very basic, I've done all of this with help of others and youtube and of course netbeans messing my whole design by simply moving something 1 km away -_-.
    I don't know if my code for the part I've finished which is working flawlessly is needed to be sent but if anyone needs it sure.
    And by the way the idea is to use if else and switch and java methods. Keep in mind I know basic java and my code can't just seem to miraculously have been "upgraded"

    For any questions Ill try to reply asap.
    -Thanks in advance.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    24,380
    Thanks
    54
    Thanked 2,636 Times in 2,586 Posts

    Default Re: need help with basic java.

    If you have code for this problem, please copy and paste it here.
    Add the specific questions about the problems you are having with it. Copy and paste any error messages here also, no images.

    Be sure to wrap the code in code tags.
    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,380
    Thanks
    54
    Thanked 2,636 Times in 2,586 Posts

    Default Re: need help with basic java.

    my code can't just seem to miraculously have been "upgraded"
    Don't worry about that. You will be the one that makes the changes.

    You appear to be asking for someone to write your code. That isn't done here.
    This thread will be removed if there are no further posts to it.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Please tell me basic Java
    By 1332alex in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 18th, 2013, 02:44 PM
  2. want to learn java from basic with oop
    By iftijafar in forum Object Oriented Programming
    Replies: 3
    Last Post: December 9th, 2013, 07:25 AM
  3. I need help with these basic Java ?s
    By scotts7 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 7th, 2013, 07:51 PM
  4. Basic Java
    By tope2a in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 5th, 2013, 04:06 PM
  5. Java basic Example
    By Appu14 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: September 3rd, 2012, 11:24 AM

Tags for this Thread