Skip to content

Commit ec5cf1f

Browse files
committed
JMenuBar height tweak; Clazz fix for strings now in exceptions
1 parent 847a0d6 commit ec5cf1f

File tree

7 files changed

+369
-356
lines changed

7 files changed

+369
-356
lines changed
103 Bytes
Binary file not shown.
Binary file not shown.

sources/net.sf.j2s.java.core/site-resources_4.2/jsmol/js/JSmolJavaExt.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,8 @@ return buf.join('');
10021002

10031003
if(String.prototype.$replace==null){
10041004
java.lang.String=String;
1005+
Clazz._setDeclared("String", String);
1006+
10051007
if(Clazz._supportsNativeObject){
10061008
for(var i=0;i<Clazz._extendedObjectMethods.length;i++){
10071009
var p=Clazz._extendedObjectMethods[i];
@@ -1666,6 +1668,8 @@ c$.get = function(o, i){return o[i]};
16661668
javautil.Date=Date;
16671669
Date.TYPE="javautil.Date";
16681670
Date.__CLASS_NAME__="Date";
1671+
Clazz._setDeclared("java.util.Date", Date);
1672+
Clazz._setDeclared("Date", Date);
16691673
Clazz.implementOf(Date,[java.io.Serializable,java.lang.Comparable]);
16701674
Clazz.defineMethod(javautil.Date,"clone",
16711675
function(){

0 commit comments

Comments
 (0)