Originally Posted by
frostwing
ehh.i dun quite understand how to implement GUI.but probably i will be try to do a 4random for example.1234 4321.but it has have GUI in it.which means when the user uses the program.they can have a choice to choose between a random 2 number.12 21.... or a random 4 number 1234 4321.
I honestly didn't understand a word of that. See my signature on asking questions the smart way.
But I'd recommend you read through this very carefully:
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)