JFrame does not refresh after compiling

From: Matej Papler (undisclosed_at_some-fake-domain-for-no-spam.com)
Date: 01/06/05


Date: Thu, 6 Jan 2005 20:41:44 +0100

Hello,

we have to make a simple program for college with JFrame and JPanel... The
window appears and some lines are drawn, but still there is a problem - when
i update the code and recompile and run the program again, the old picture
is still there.

What do i have to do so the new things will appear? Perhaps some refresh(),
reload()... since this is a sample code our teacher gave it should work,
perhaps it is just OS problem.

WinXP, Java SDK 1.4.2

Any help will be very appreciated.

Matej Papler



Relevant Pages

  • Re: Need to display 8 live video streams simultaneously on a single screen
    ... > sample code in directshow SDK which displays a single video .In the ... > same sample code which i have typed below I have copied and pasted this ... > times .Though all 8 video streams are coming at the same time but they ... in the same filtergraph and same window using windowless mode assuming your ...
    (microsoft.public.win32.programmer.directx.video)
  • Need help finding documentation
    ... I was recently reading through some sample code I found on the net, ... now the OpenGL stuff is pretty much the same as in Windows ... but the code for opening the window is not. ... I'd like to create a timer task, where one of the CPUs is interrupted ...
    (comp.os.linux.development.apps)
  • Re: A required resource was
    ... If you like email me a sample code that reproduces the problem, ... There are no dynamic memory ... and eventually redrawn in the client window. ...
    (microsoft.public.vc.mfc)
  • Re: [very new] example VC++ 4
    ... I have not found sample code to use the editor, ... This example contains a main window and a dialog. ... paint handler to write text directly onto the window upon display. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Create an object surface using GDI+
    ... You didn't look closely enough at the sample code. ... in the onclick event or any of the ... that the object should contain when drawn. ... > user has clicked not just based in rectangles, like here, but on rectangle ...
    (microsoft.public.dotnet.framework.windowsforms)