Bar graph in Java for Mastermind

  • 13 years ago

    Hi all,


    I’m newbie in java code development, I have written a mastermind play, and I would like to include a time limitation (for example 3 minutes) which appears like a coloured and vertical column (bar graph?), and which decreases with time, displaying remaining time at the top of the column. When time has elapsed a window displays: “Game over! Do you want to play again “.


    Please help me, I should get a code in VisualJava, and in Java for graphical interface.


    kind regards,



Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil perpetrated by skilled but perverted professionals.” - Jon Ribbens