Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JAVA 2D GAME
#1

[attachment=14202]
LANGUAGE USED JAVA ( GRAPHICS 2D )
INTERFACE GUI ( GRAPHICS USER
INTERFACE )
OPERATING SYSTEM - WINDOWS
SAVE THE SHELL GAME
This is a java based game .
it is a gui application using graphics 2D.
Gui programming makes use of objects.
Objects comprise of colors, fonts, events, gui components such as buttons , menus etc.
Events are handled by instance methods contained in objects.
JFRAME
Independent window with titlebar,open & close buttons
It is created & its properties are set as follows
Jframe window = new Jframe( Title );
window.setContentPane(content);
window.setSize(width,height);
window.setLocation(x,y);
window.setVisible(true);
JPANEL
Blank rectangle ; used as drawing surface
We can add other components in it,
Draw something over it
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.