11java2script/SwingJS Notes
22=========================
33
4+ updated 5/4/2025 -- clarity about not supporting UI subclassing
45updated 3/11/2023 -- adds support for Java Regex Matcher.start/end(groupID) and .start/end(groupName)
56updated 12/31/2020 -- full support for 64-bit long
67updated 12/6/2020 -- note about restrictions on long, including BitSet and Scanner
@@ -359,6 +360,9 @@ Java or JavaScript equivalents.
359360Swing GUI Peers and UIClasses
360361-----------------------------
361362
363+ SwingJS does not support custom UI classes that subclass UI classes in javax/swing/plaf
364+ or com/sun/javax/swing/plaf.
365+
362366One of the biggest adaptations introduced in SwingJS is in the area of the graphical
363367user interface. Basically, what we have is a Java Swing "LookAndFeel" customized for HTML.
364368
@@ -369,7 +373,7 @@ component "uiClass" (one per component, such as BasicButtonUI or BasicTextFieldU
369373Peers are native objects of the operating system. These are the virtual buttons and text areas
370374that the user is interacting with at a very base level. They are chunks of low-level code that
371375paint the screen to give the illusion that you really are pressing a button or typing text
372- ot the screen. Their events are being passed on to Java or the browser by the operating system.
376+ to the screen. Their events are being passed on to Java or the browser by the operating system.
373377
374378UI classes provide a consistent "look and feel" for these native objects, rendering them onto
375379the native window canvas and handling all user-generated events. They paint the borders,
0 commit comments