• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with serverGUI

 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created GUI for starting / stoping server. when my appln runs a new window pops up . user has to enter datafile, portno. when start is pressed, the window stays open . is there a way to minimize the window ?
 
tom mcmorrow
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Resma
I suppose you could write a WindowAdapter class overwriting windowIconfied with any necessary detail.
tom
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Out of curiosity, why should the window get minimized automatically? I have not seen any applications that do that. The only apps, I see doing that are the ones in the windows hot or active bar on the very edge like msn messenger etc.
 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reason:
When i start my serverdisplay.java. The gui pops up. when client presses the start button, the server starts. so i have the dos prompt, then on top of it the gui. i want to minimise the gui screen so that only dos prompt stays.
what do u guys think abt it?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic