Results 1 to 2 of 2
  1. #1
    King8654's Avatar
    King8654 is offline Member
    Join Date
    Apr 2008
    Posts
    9
    Rep Power
    0

    Default Repaint panel after open saved serialized array

    Hey,

    so i saved a serialized .txt file of my drawingpanel, which is covered in car objects drawn by mousepressed and their colors depend on which jradiobutton is selected uptop.

    once i save the file, and i can also open it up, how do i repaint the panel in regards to how the file has saved it. do i have to return the array, or what?

    if need to see code, ill post, but more looking for an idea to go with. already have everything as far as code up to this point.

    thank you so much in advance

  2. #2
    Zosden's Avatar
    Zosden is offline Senior Member
    Join Date
    Apr 2008
    Posts
    384
    Rep Power
    7

    Default

    please post code I have no idea of what your trying to do. I know what your saying makes since in your head, now you have to try and explain it to people that have no idea what your talking about. Try to explain your problem like you would try to tell a story to someone you just woke up. You wouldn't wake them up and just start telling them the story. You would tell the setting and some background information first.

Similar Threads

  1. Repaint problem
    By swimberl in forum Java 2D
    Replies: 1
    Last Post: 02-16-2008, 10:12 PM
  2. Repaint problem
    By swimberl in forum Java 2D
    Replies: 0
    Last Post: 01-06-2008, 04:28 AM
  3. returning to a previously saved view
    By gojava in forum Advanced Java
    Replies: 0
    Last Post: 11-09-2007, 06:11 PM
  4. Help with drag from panel
    By fernando in forum AWT / Swing
    Replies: 2
    Last Post: 08-07-2007, 11:19 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
  •