Results 1 to 10 of 10
  1. #1
    sheckoo is offline Member
    Join Date
    Oct 2008
    Location
    Egypt
    Posts
    26
    Rep Power
    0

    Lightbulb please (how to use interface like jbutton in java)

    i want to make a good look for my program from the outside (interface)|
    can u please help me in this ?:confused:

  2. #2
    Eku
    Eku is offline Senior Member
    Join Date
    May 2008
    Location
    Makati, Philippines
    Posts
    234
    Rep Power
    7

    Default

    can you please elaborate your question. =) i cant seem to understand it clearly
    Mind only knows what lies near the heart, it alone sees the depth of the soul.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Do you want to make your classes as interfaces to give away and use them? Better to explain it much clearly.

  4. #4
    sheckoo is offline Member
    Join Date
    Oct 2008
    Location
    Egypt
    Posts
    26
    Rep Power
    0

    Default ??

    when i finish my program the customer will use him how can design the out side shape (interface) that will the customer handle with the program from this window

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    I'm still finding your question still too vague and overly general. I think that to get a decent answer here you're going to have to put a lot more work into your question.

    A great resource that has helped me and will probably help you is an article entitled How To Ask Questions The Smart Way. It will tell you how to formulate your questions so that the folks here will be better able to answer them. Good luck.

  6. #6
    sheckoo is offline Member
    Join Date
    Oct 2008
    Location
    Egypt
    Posts
    26
    Rep Power
    0

    Exclamation ??

    look i am a freshman in java a beginner look carefully at this time i am using JOption to give the inputs to my program but i want to know how to use buttons and good style and look for giving inputs and

  7. #7
    Nakira is offline Member
    Join Date
    Oct 2008
    Location
    Aberystwyth
    Posts
    55
    Rep Power
    0

    Default

    Quote Originally Posted by sheckoo View Post
    look i am a freshman in java a beginner look carefully at this time i am using JOption to give the inputs to my program but i want to know how to use buttons and good style and look for giving inputs and
    So what your trying to say is how do i customise the way the interface looks?

  8. #8
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    My (unsure) interpretation of your question is that you want to move from a JOptionPane type GUI to a richer complete GUI such as a Swing GUI. If my guess is correct, then there are some great resources available that can help you to learn Swing coding, starting with the wonderful Sun Swing Tutorials. Have a look, try out their samples, and come on back if you have any questions (or if my assumptions above were incorrect).

  9. #9
    sheckoo is offline Member
    Join Date
    Oct 2008
    Location
    Egypt
    Posts
    26
    Rep Power
    0

    Default thanx

    thanx this is realy what i was need ,thank u very much:):)

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by sheckoo View Post
    thanx this is realy what i was need ,thank u very much:):)
    First of all you should able to find what you need exactly, mainly try to find what is the correct word there. I mean an interface have different meaning generally in Java. On that I'm confused a lot.

Similar Threads

  1. interface C programming with Java
    By kapil1089theking in forum AWT / Swing
    Replies: 8
    Last Post: 09-11-2008, 06:09 AM
  2. Java Debug Interface
    By jbabe in forum Advanced Java
    Replies: 2
    Last Post: 09-02-2008, 06:04 AM
  3. Interface question in java
    By tony404 in forum Advanced Java
    Replies: 2
    Last Post: 06-27-2008, 12:47 PM
  4. What is an interface in the java? how to define
    By sivasayanth in forum New To Java
    Replies: 3
    Last Post: 01-14-2008, 05:13 AM
  5. Interface java.io.Externalizable
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-19-2007, 06:53 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
  •