Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
Like Tree1Likes

Thread: Adding image to GUI - Whats wrong with code?

  1. #21
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: Adding image to GUI - Whats wrong with code?

    Quote Originally Posted by mindsword View Post
    i thought this was basics

    im just trying to put a picture in a grey box with a caption

    indent? braces? my teeth are in perfect order except for a little acid damage and a few holes... what does my dental record have to do with my java program?

    and i thought i needed swing for GUI?
    You can't do Swing code without a fairly solid understanding of how Java works.
    You clearly don't have that understanding.

    You don't need a GUI to produce a simple application. Plenty of console (command line) apps exist, and that is where most people start their learning.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  2. #22
    mindsword is offline Member
    Join Date
    Jul 2014
    Location
    Norway
    Posts
    16
    Rep Power
    0

    Default Re: Adding image to GUI - Whats wrong with code?

    You dont understand...

    Frank is very sad.... He needs a yellow smiley face. To be happy... You know...?

    I dont know why, but he was very specific on this.

    Im kidding ofc. But what i see with terminal is very limited on this specific mission im on.. I just want to get the image up to see if i can do it.. I seem to be completely stuck on this for some reason.... I want to program things that are useful for me personally. Right now, that is getting Frank a face and something to say in the CENTRE of the box. It thought this would be easy tbh
    Last edited by mindsword; 07-29-2014 at 06:53 PM.

  3. #23
    DayKema is offline Member
    Join Date
    Jul 2014
    Posts
    23
    Rep Power
    0

    Default Re: Adding image to GUI - Whats wrong with code?

    Troll is obvious.

  4. #24
    mindsword is offline Member
    Join Date
    Jul 2014
    Location
    Norway
    Posts
    16
    Rep Power
    0

    Default Re: Adding image to GUI - Whats wrong with code?

    Im not trolling. I want to add an image. Why is that so hard to understand??

    And yes the program itself is a bit of a joke, but its still just for learning.

  5. #25
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: Adding image to GUI - Whats wrong with code?

    Quote Originally Posted by mindsword View Post
    Im not trolling. I want to add an image. Why is that so hard to understand??

    And yes the program itself is a bit of a joke, but its still just for learning.
    And in order to do that you need to have a solid grasp of how Java works before you start on writing GUI code.

    Do you know why that code earlier is completely wrong?
    If you cannot understand why, then you are running before you can walk.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 05-21-2013, 02:37 PM
  2. whats wrong with my code
    By naved in forum New To Java
    Replies: 5
    Last Post: 07-15-2011, 02:06 AM
  3. whats wrong with this code
    By hamzeeco in forum Java Applets
    Replies: 1
    Last Post: 12-31-2010, 02:19 PM
  4. Whats wrong with this code???
    By javanew in forum New To Java
    Replies: 4
    Last Post: 03-28-2010, 05:46 PM
  5. Whats wrong with my code???
    By Soda in forum New To Java
    Replies: 2
    Last Post: 12-06-2007, 12:54 PM

Posting Permissions

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