aspose file tools*
The moose likes Applets and the fly likes how to clear applet screen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "how to clear applet screen" Watch "how to clear applet screen" New topic
Author

how to clear applet screen

kunu patel
Greenhorn

Joined: Apr 01, 2009
Posts: 11
hi,
i want to implement clear screen button... when click on that button applet screen can clear...
in applet i use command prompt so.. when ever click event occur whole applet clear and command prompt is appear in enter key press ...

is it possible to clear the applet screen....give me example code or basic idea...;
so implement..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
What do you mean by "applet screen"? Applets consist of AWT or Swing GUI elements - if there are any elements you no longer want there, just remove them from the GUI.

If there is custom painting on a, say, Canvas, just draw a big white rectangle (or black, or whatever qualifies as "clear").


Ping & DNS - updated with new look and Ping home screen widget
kunu patel
Greenhorn

Joined: Apr 01, 2009
Posts: 11
hi,

it contain AWT /swing both type of element and it develop with swing menu. now in menu i want clear screen menu...
so it repaint applet... i show you image of application



now when clear screen event occurs then this command prompt is reload ....means applet repaint..

please help me how i done this code/give me hint........
i can't give you image reference .....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
What do you mean by "command prompt"? As I mentioned in the other thread, applets have no command prompt.
kunu patel
Greenhorn

Joined: Apr 01, 2009
Posts: 11
hi,

in my application applet is use SSH/TELNET command prompt for access the remote server and connect through telnet connection.

i am pass several server parameter into this applet. it is JTA26.jar file.
which contain all facility of SSH/TELNET with applet configuration...

http://javassh.org/space/Download

if you want to know for reference then go above link..and down load JTA26.jar file and run it you know all thing.. this product use the applet .


if you help about clear screen of applet then give me idea...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to clear applet screen
 
Similar Threads
Need help from experts for FileDialog()
applet terminating
clear screen command prompt using gui java code
Clear Screen
clear screen applet