Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#202 closed defect (fixed)

Make java.awt.TextArea work

Reported by: dmik Owned by:
Priority: major Milestone: GA5
Component: general Version: 1.6.0 Build 27 GA4
Severity: medium Keywords:
Cc:

Description

Currently the java.awt.TextArea? class is not functioning. Just a black area which is never repainted and gets filled with garbage after some time.

Change History (2)

comment:1 Changed 7 years ago by dmik

  • Resolution set to fixed
  • Status changed from new to closed

I found a solution to this problem while working on #199 (using the debug assertions inside AWT). It turned out that for NT-based systems Java wants to load RICHED20.DLL (which is an implementation of Rich Text 2.0) while Odin only provides RICHED32.DLL (which is a 32-bit wrapper for Rich Text 1.0 from Win16 AFAIK).

After tweaking the Java code in r411, RICHED32.DLL is now always loaded on OS/2. This fixes the original issue.

Note that there is also a small fix in Odin itself (r 22060) that fixes some more debug assertions (related to RICHED32 too).

comment:2 Changed 7 years ago by dmik

  • Milestone changed from Enhanced to GA5
Note: See TracTickets for help on using tickets.