Clear Java run screen

Clearing The run screen of text in Forte 4 Java

Page 1 of 1

1 Replies - 3113 Views - Last Post: 27 March 2010 - 08:10 PM Rate Topic: -----

#1 SuckMyBookah   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 6
  • Joined: 27-March 10

Clear Java run screen

Posted 27 March 2010 - 07:46 PM

Hey Guys!!

I am currently creating 5 stud Poker within forte Java for a year 12 programming class.

And which to make the game look and run professionally. To do this I would like the run screen to clear at certain parts of the coding. For example : When I have asked how many cards the player wishes to discard, after which all questions clear and they are left with their new hand.


In sort: Is there a command which will allow me to clear the run screen.

Thanks Brad

This post has been edited by SuckMyBookah: 27 March 2010 - 08:01 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Clear Java run screen

#2 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12800
  • View blog
  • Posts: 45,992
  • Joined: 27-December 08

Re: Clear Java run screen

Posted 27 March 2010 - 08:10 PM

If you are referring to the console (the screen where output for System.out.println is displayed), no there is not a way to clear it. However, you can space down enough times to push up the prior text so it isn't visible unless the user scrolls up. If you are using a GUI (beyond JOptionPane), you can modify the properties of the appropriate Component.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1