28package com.jogamp.opengl.test.junit.newt.parenting;
32import com.jogamp.common.util.awt.AWTEDTExecutor;
33import com.jogamp.nativewindow.CapabilitiesImmutable;
34import com.jogamp.nativewindow.NativeWindow;
35import com.jogamp.nativewindow.NativeWindowHolder;
36import com.jogamp.newt.Window;
37import com.jogamp.newt.opengl.GLWindow;
38import com.jogamp.newt.opengl.util.NEWTDemoListener;
61 AWTEDTExecutor.singleton.invoke(
false,
new Runnable() {
64 frame.setTitle(
"Frame["+capsA+
"], win: "+getNativeWinTitle(nw));
67 super.setTitle(nw, win);
An implementation of GLAutoDrawable and Window interface, using a delegated Window instance,...
AWT specializing demo functionality of NewtReparentingKeyAdapter, includes NEWTDemoListener.
NewtAWTReparentingKeyAdapter(final Frame frame, final NativeWindowHolder winHolder, final GLWindow glWindow)
void setTitle(final Frame frame, final NativeWindow nw, final Window win)
Extending demo functionality of NEWTDemoListener.
Specifies an immutable set of capabilities that a window's rendering context must support,...
boolean isBackgroundOpaque()
Returns whether an opaque or translucent surface is requested, supported or chosen.
Accessor interface for implementing classes with ownership of a NativeWindow via an is-a or has-a rel...
NativeWindow getNativeWindow()
Returns the associated NativeWindow of this NativeWindowHolder, which is identical to getNativeSurfac...
Extend the NativeSurface interface with windowing information such as window-handle,...
Specifying NEWT's Window functionality:
CapabilitiesImmutable getChosenCapabilities()
Gets an immutable set of chosen capabilities.
CapabilitiesImmutable getRequestedCapabilities()
Gets an immutable set of requested capabilities.