Skip to content

Commit 791615b

Browse files
authored
Merge pull request #234 from BobHanson/master
update of java2script/java2script
2 parents a806ab1 + f920b75 commit 791615b

File tree

24 files changed

+364
-203
lines changed

24 files changed

+364
-203
lines changed
3.97 KB
Binary file not shown.

sources/net.sf.j2s.core/dist/swingjs/differences.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
java2script/SwingJS Notes
22
=========================
33

4+
updated 5/4/2025 -- clarity about not supporting UI subclassing
45
updated 3/11/2023 -- adds support for Java Regex Matcher.start/end(groupID) and .start/end(groupName)
56
updated 12/31/2020 -- full support for 64-bit long
67
updated 12/6/2020 -- note about restrictions on long, including BitSet and Scanner
@@ -359,6 +360,9 @@ Java or JavaScript equivalents.
359360
Swing 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+
362366
One of the biggest adaptations introduced in SwingJS is in the area of the graphical
363367
user 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
369373
Peers are native objects of the operating system. These are the virtual buttons and text areas
370374
that the user is interacting with at a very base level. They are chunks of low-level code that
371375
paint 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

374378
UI classes provide a consistent "look and feel" for these native objects, rendering them onto
375379
the native window canvas and handling all user-generated events. They paint the borders,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20250419180504
1+
20251109202645
3.97 KB
Binary file not shown.

sources/net.sf.j2s.core/dist/swingjs/ver/5.0.1/differences.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
java2script/SwingJS Notes
22
=========================
33

4+
updated 5/4/2025 -- clarity about not supporting UI subclassing
45
updated 3/11/2023 -- adds support for Java Regex Matcher.start/end(groupID) and .start/end(groupName)
56
updated 12/31/2020 -- full support for 64-bit long
67
updated 12/6/2020 -- note about restrictions on long, including BitSet and Scanner
@@ -359,6 +360,9 @@ Java or JavaScript equivalents.
359360
Swing 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+
362366
One of the biggest adaptations introduced in SwingJS is in the area of the graphical
363367
user 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
369373
Peers are native objects of the operating system. These are the virtual buttons and text areas
370374
that the user is interacting with at a very base level. They are chunks of low-level code that
371375
paint 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

374378
UI classes provide a consistent "look and feel" for these native objects, rendering them onto
375379
the native window canvas and handling all user-generated events. They paint the borders,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20250419180504
1+
20251109202645
3.38 KB
Binary file not shown.

sources/net.sf.j2s.java.core/dist/differences.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
java2script/SwingJS Notes
22
=========================
33

4+
updated 5/4/2025 -- clarity about not supporting UI subclassing
45
updated 3/11/2023 -- adds support for Java Regex Matcher.start/end(groupID) and .start/end(groupName)
56
updated 12/31/2020 -- full support for 64-bit long
67
updated 12/6/2020 -- note about restrictions on long, including BitSet and Scanner
@@ -359,6 +360,9 @@ Java or JavaScript equivalents.
359360
Swing 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+
362366
One of the biggest adaptations introduced in SwingJS is in the area of the graphical
363367
user 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
369373
Peers are native objects of the operating system. These are the virtual buttons and text areas
370374
that the user is interacting with at a very base level. They are chunks of low-level code that
371375
paint 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

374378
UI classes provide a consistent "look and feel" for these native objects, rendering them onto
375379
the native window canvas and handling all user-generated events. They paint the borders,
127 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/doc/Differences.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
java2script/SwingJS Notes
22
=========================
33

4+
updated 5/4/2025 -- clarity about not supporting UI subclassing
45
updated 3/11/2023 -- adds support for Java Regex Matcher.start/end(groupID) and .start/end(groupName)
56
updated 12/31/2020 -- full support for 64-bit long
67
updated 12/6/2020 -- note about restrictions on long, including BitSet and Scanner
@@ -359,6 +360,9 @@ Java or JavaScript equivalents.
359360
Swing 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+
362366
One of the biggest adaptations introduced in SwingJS is in the area of the graphical
363367
user 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
369373
Peers are native objects of the operating system. These are the virtual buttons and text areas
370374
that the user is interacting with at a very base level. They are chunks of low-level code that
371375
paint 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

374378
UI classes provide a consistent "look and feel" for these native objects, rendering them onto
375379
the native window canvas and handling all user-generated events. They paint the borders,

0 commit comments

Comments
 (0)