Results 1 to 4 of 4
  1. #1
    Mathi_r is offline Member
    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    Arrow Scrolling in JPanel makes the content erased

    Hai
    I have paint like application.I created it using Applet.I have two panels.1 is the tool panel and the other is the drawing panel.
    using the tools in the tool panel i can write or draw on the drawpanel.


    My question is if i write on the drawpanel, & if it reaches the end of the panel,the scrollbars should get added automatically and should be able to draw r write.and if i scroll up r down,drawing area gets erased and it was empty.
    i just added a ScrollPane and tested ..
    any help?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,404
    Rep Power
    20

    Default

    Please don't double post and don't use the browser's back button to edit your post. This creates multiple posts.

    You didn't ever return to your previous thread Uploading an image in an applet to the webserver . Why should we expect anything different here?

    Recommended reading: How to ask questions the smart way

    db

  3. #3
    Mathi_r is offline Member
    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    Default

    sorry for sending it twice

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,558
    Rep Power
    25

Similar Threads

  1. Tableviewer content disappears on scrolling
    By gmm in forum SWT / JFace
    Replies: 2
    Last Post: 06-27-2011, 01:18 PM
  2. Replies: 4
    Last Post: 06-11-2011, 11:59 PM
  3. Replies: 1
    Last Post: 04-19-2011, 08:52 AM
  4. Replies: 3
    Last Post: 01-05-2008, 11:13 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
  •