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

Thread: GUI help PLS!

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default GUI help PLS!

    How do i load a picture in the computer into the GUI then resize it. I'm aiming to get like the "Tag" feature in facebook. Where we can put pictures, crop and tag. Also about saving the name after tagging.Cause i'm Kinda confused how to start. Can somebody gimme some help pls. Thank you.
    Last edited by xTenten06; September 12th, 2011 at 06:00 AM.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: GUI help PLS!

    What exactly do you mean by resize? Simply display at a different size? Output a file? Something else?

    What have you tried? Check out the Graphics API for some useful functions.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: GUI help PLS!

    No. What I mean is to crop the picture.I want to show it in a different size removing the space not inside the given parameters. Just like I said on my 1st post the same concept in the "Tag" feature of Facebook. I'm still working on a different aspect which is showing the name of the person as you hover your mouse on the "resized" or cropped picture.

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: GUI help PLS!

    Oh okay. Then check out the API for Graphics for some useful functions.

    Graphics (Java Platform SE 6)
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!