java - Display short strings to the screen, not to the console -


i want display strings randomly directly screen in notebook/pc, showing each string less 1 second, when use system.out.println("my text here") in java opens in windows console output. how can change code run "java myfile.jar" runs directly in windows screen ?

system.out.println() uses standard output of operating system.
display message in gui, use graphical api such java standard api today : javafx.

as side note, gui should work on windows or unix based system class/jar may executed on os supports java : write once, run anywhere.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -