Results 1 to 4 of 4
  1. #1
    jbl999 is offline Member
    Join Date
    Apr 2017
    Posts
    1
    Rep Power
    0

    Default Java Coding Help

    hi guys i HAVE JAVA ASSIGNMENT. i would be very thankful if someone help me in this. i found some hint for this assignment but not able to understand that.



    http://web.stonehill.edu/compsci/CS1...16/Lab%208.htm


    Assignment

    Using BorderLayout, design an ID card with your picture (or any picture you get
    off the web or draw in Paint) in the center, your name on the top, and your personal
    information (height, weight, eye color, address) split left and right. The bottom
    section of the card should display “Java Programmer ”. The ID card should be the
    size of a typical driver’s license ( 250 x 150), place it at position (0,0) and do not
    allow resizing.


    Hints:
    Make a class IDCardRame that extends JFrame. The one-argument constructor
    should accept a title (String)
    1. Create a JLabel with a picture and place it in the center of the frame using the
    BorderLayout manager
    2. Create a Jlabel with your name and place it in the NoORTH section using the
    porderLayout
    3. Create a JLabel that says “Java Programmer” and put it in the south region.
    4. Make three JLabels, one with the height, one with weight , one with eue color
    5. Make a JPanel with a GridLayout manager (use 3 x 1 grid)
    6. Add the labels to the panel
    Add the panel to the WEST part of the frame
    7. Repeat 4 using the address and put it on the EAST section
    8. set the position and size of the frame
    9. set resizable to false
    10.make the frame visible
    11.Include main(…) that just instantiates IDCard
    Last edited by jbl999; 04-07-2017 at 09:54 PM.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Java Coding Help

    What have you tried?

    Do you have any specific java programming question?


    Be sure to wrap any posted code in code tags.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Java Coding Help

    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    benji2505 is offline Senior Member
    Join Date
    Sep 2014
    Location
    MA, USA
    Posts
    398
    Rep Power
    5

    Default Re: Java Coding Help

    I'd say the 11 hints should already be considered spoonfeeding.

Similar Threads

  1. \\ Help With Java Coding Please ?
    By JohnNewman in forum New To Java
    Replies: 2
    Last Post: 04-06-2017, 02:03 AM
  2. Replies: 4
    Last Post: 10-25-2010, 03:49 PM
  3. help with java coding
    By helpisontheway in forum New To Java
    Replies: 4
    Last Post: 11-14-2009, 07:00 AM
  4. java coding
    By zawad in forum Suggestions & Feedback
    Replies: 1
    Last Post: 07-07-2009, 01:55 PM
  5. Coding Java on a Mac
    By Menre in forum New To Java
    Replies: 5
    Last Post: 05-06-2008, 05:49 AM

Tags for this Thread

Posting Permissions

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