aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/NEWT.txt30
-rw-r--r--doc/TODO.txt17
2 files changed, 33 insertions, 14 deletions
diff --git a/doc/NEWT.txt b/doc/NEWT.txt
new file mode 100644
index 000000000..c97d90e30
--- /dev/null
+++ b/doc/NEWT.txt
@@ -0,0 +1,30 @@
+NEWT / Swing/AWT mixed usage:
+==================================
+
+1) Shut down menus when NEWT window gains focus:
++++
+ glWindow.addWindowListener(new WindowAdapter() {
+ public void windowGainedFocus(WindowEvent arg0) {
+ MenuSelectionManager.defaultManager().clearSelectedPath();
+ }
+ });
++++
+
+2) Mixing hw/lw components
+
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6776743
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6788954
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6797587
+
+Bug 6788954:
+ If an existing application embedds a heavyweight component in a frame,
+ and at the same time installs a custom glass pane,
+ the heavyweight component will disappear.
+ This regression is not very serious since we never supported mixing of hw and lw components
+ in general. The developer will have two options to resolve the problem:
+ 1. By modifying the software to tag the glass pane properly, or
+ 2. To suggest users to use the sun.awt.disableMixing system property
+ to disable the hw/lw mixing code at all.
+
+
+
diff --git a/doc/TODO.txt b/doc/TODO.txt
index 294f16cd1..4c5f61f88 100644
--- a/doc/TODO.txt
+++ b/doc/TODO.txt
@@ -1,17 +1,12 @@
-This list is probably completely out of date...
-anyone the guts to remove it? :)
--mbien
+WIP:
+
+- Protected access for Impl classes
Random, somewhat old to-do list:
- Non-const array types must be properly released with JNI_COMMIT in
order to see side effects if the array was copied.
-- Think about e.g. protected access for Impl classes
-
-- Fix glProgramStringARB and glGetProgramString{NV,ARB} so that they
- use Strings and/or StringBuffers insteead of GLUbyte* and void*
-
- figure out how to deal with WGL entry points:
WINGDIAPI HGLRC WINAPI wglCreateLayerContext(HDC, int);
WINGDIAPI BOOL WINAPI wglUseFontBitmapsA(HDC, DWORD, DWORD, DWORD);
@@ -33,9 +28,3 @@ Random, somewhat old to-do list:
- Throw an exception if native calls to GetPrimitiveArrayCritical
return null.
-- Before emitting functions and constants, sort them first by
- extension suffix (i.e., ARB, ATI, NV, etc) and then by name. This
- will organize them in the file more logically. When writing the
- code, the sort function can check the last substring that's all caps,
- and treat this as the extension owner. Be careful though, some end
- in "3D" and that's not an extension.