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

Thread: AWT

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default AWT

    i am making app using image....
    bt i don't knw where to store the image?
    in which directory shall i save the image?


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: AWT

    If its your computer, you should be able to store the images where ever you want them.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Jun 2012
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: AWT

    see i m makin applets....nd i need 2 use that image in my applet...
    whenvr i write the code the image nevr got displayed...
    i use to store the image where my all applets get stored...
    then i open that project than src folder nd save the image ..
    still its nt workin...

  4. #4
    Junior Member
    Join Date
    Jun 2012
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: AWT

    can u plz gimme a code for that??

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: AWT

    Applets need permission to be able to write files.
    See the tutorial for how to write an applet:
    Lesson: Java Applets (The Java™ Tutorials > Deployment)
    If you don't understand my answer, don't ignore it, ask a question.

  6. #6
    Junior Member
    Join Date
    Jun 2012
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: AWT

    i want to make some good project usin AWT...
    can u gimme some gud idea??

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: AWT

    Why AWT? That is the old technology. Most GUI code is now written using Swing.

    I have no ideas for projects for you.
    If you don't understand my answer, don't ignore it, ask a question.

  8. #8
    Junior Member
    Join Date
    Jun 2012
    Posts
    24
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: AWT

    ok from where can i learn more about swing?

  9. #9
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: AWT

    This is the index to most of the java tutorials. You can find many things here:
    The Really Big Index
    If you don't understand my answer, don't ignore it, ask a question.