Bugzilla – Attachment 59 Details for
Bug 166
Memory leak with ATI Mobility Radeon 9700
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
Main program of test case
AnimJOGLApp.java (text/plain), 896 bytes, created by
Sven Gothel
on 2005-06-22 00:26:00 CEST
(
hide
)
Description:
Main program of test case
Filename:
MIME Type:
Creator:
Sven Gothel
Created:
2005-06-22 00:26:00 CEST
Size:
896 bytes
patch
obsolete
> >import java.awt.*; >import java.awt.event.*; > >import net.java.games.jogl.*; > >public class AnimJOGLApp >{ > static Animator animator; > > public static void main(String[] args) > { > Frame frame = new Frame("AnimJOGLApp"); > //Animator für Bewegung > > > //GLCanvas für Anzeige > GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities()); > canvas.addGLEventListener(new AnimGLEventListener()); > frame.add(canvas); > > //Animator mit Zeichenfläche initialisieren > animator = new Animator(canvas); > > frame.setSize( 400, > 400); > frame.addWindowListener(new WindowAdapter() > { > public void windowClosing(WindowEvent e) > { > animator.stop(); > System.exit(0); > } > }); > > frame.setVisible(true); > //Animation starten > animator.start(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 166
: 59 |
60