Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
e1e39ef2
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e1e39ef2
编写于
9月 09, 2013
作者:
A
alexsch
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8020060: MoleculeViewerTest demo doesn't work due to SecurityPermissions
Reviewed-by: malenkov, erikj
上级
91934676
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
20 addition
and
22 deletion
+20
-22
makefiles/CompileDemos.gmk
makefiles/CompileDemos.gmk
+3
-5
src/share/demo/applets/MoleculeViewer/XYZApp.java
src/share/demo/applets/MoleculeViewer/XYZApp.java
+1
-1
src/share/demo/applets/MoleculeViewer/example1.html
src/share/demo/applets/MoleculeViewer/example1.html
+3
-3
src/share/demo/applets/MoleculeViewer/example2.html
src/share/demo/applets/MoleculeViewer/example2.html
+3
-3
src/share/demo/applets/MoleculeViewer/example3.html
src/share/demo/applets/MoleculeViewer/example3.html
+5
-5
src/share/demo/applets/WireFrame/ThreeD.java
src/share/demo/applets/WireFrame/ThreeD.java
+1
-1
src/share/demo/applets/WireFrame/example1.html
src/share/demo/applets/WireFrame/example1.html
+1
-1
src/share/demo/applets/WireFrame/example2.html
src/share/demo/applets/WireFrame/example2.html
+1
-1
src/share/demo/applets/WireFrame/example3.html
src/share/demo/applets/WireFrame/example3.html
+1
-1
src/share/demo/applets/WireFrame/example4.html
src/share/demo/applets/WireFrame/example4.html
+1
-1
未找到文件。
makefiles/CompileDemos.gmk
浏览文件 @
e1e39ef2
...
...
@@ -65,14 +65,10 @@ $(eval $(call SetupAppletDemo,DitherTest))
$(eval $(call SetupAppletDemo,DrawTest))
$(eval $(call SetupAppletDemo,Fractal))
$(eval $(call SetupAppletDemo,GraphicsTest))
$(eval $(call SetupAppletDemo,MoleculeViewer))
$(eval $(call SetupAppletDemo,NervousText))
$(eval $(call SetupAppletDemo,SimpleGraph))
$(eval $(call SetupAppletDemo,SortDemo))
$(eval $(call SetupAppletDemo,SpreadSheet))
# Build WireFrame without a server since it
# has a class Matrix3D that also exists in MoleculeViewer.
$(eval $(call SetupAppletDemo,WireFrame,true))
ifndef OPENJDK
$(eval $(call SetupAppletDemo,Animator,,closed/))
...
...
@@ -83,7 +79,7 @@ endif
##################################################################################################
PATTERNS_TO_COPY=.html .txt .properties .js .gif .jpg .theme .data .opt README .c .h .png .ttf
PATTERNS_TO_COPY=.html .txt .properties .js .gif .jpg .theme .data .opt README .c .h .png .ttf
.xyz .obj
define SetupDemo
# Param 1 = Name of the demo
...
...
@@ -161,6 +157,8 @@ $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services : \
BUILD_DEMOS+=$(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services
$(eval $(call SetupDemo,MoleculeViewer,applets,,XYZChemModel,,,example*.html XYZApp.java))
$(eval $(call SetupDemo,WireFrame,applets,,ThreeD,,,example*.html ThreeD.java))
$(eval $(call SetupDemo,FileChooserDemo,jfc,,FileChooserDemo,,,README*))
$(eval $(call SetupDemo,Font2DTest,jfc,,Font2DTest,,,*.html *.txt))
$(eval $(call SetupDemo,Metalworks,jfc,,Metalworks,,,README*))
...
...
src/share/demo/applets/MoleculeViewer/XYZApp.java
浏览文件 @
e1e39ef2
...
...
@@ -348,7 +348,7 @@ public class XYZApp extends Applet implements Runnable, MouseListener,
InputStream
is
=
null
;
try
{
Thread
.
currentThread
().
setPriority
(
Thread
.
MIN_PRIORITY
);
is
=
new
URL
(
getDocumentBase
(),
mdname
).
openStream
(
);
is
=
getClass
().
getResourceAsStream
(
mdname
);
XYZChemModel
m
=
new
XYZChemModel
(
is
);
Atom
.
setApplet
(
this
);
md
=
m
;
...
...
src/share/demo/applets/MoleculeViewer/example1.html
浏览文件 @
e1e39ef2
...
...
@@ -2,10 +2,10 @@
<head>
<title>
MoleculeViewer (example 1)
</title>
</head>
<body>
<body>
<h1>
MoleculeViewer (example 1)
</h1>
<hr>
<applet
code=
XYZApp.class
width=
300
height=
300
>
<applet
code=
XYZApp.class
archive=
MoleculeViewer.jar
width=
300
height=
300
>
<param
name=
model
value=
"models/HyaluronicAcid.xyz"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
@@ -13,7 +13,7 @@
<hr>
<a
href=
"XYZApp.java"
>
The source
</a>
.
</body>
</html>
</html>
...
...
src/share/demo/applets/MoleculeViewer/example2.html
浏览文件 @
e1e39ef2
...
...
@@ -2,10 +2,10 @@
<head>
<title>
MoleculeViewer (example 2)
</title>
</head>
<body>
<body>
<h1>
MoleculeViewer (example 2)
</h1>
<hr>
<applet
code=
XYZApp.class
width=
300
height=
300
>
<applet
code=
XYZApp.class
archive=
MoleculeViewer.jar
width=
300
height=
300
>
<param
name=
model
value=
"models/buckminsterfullerine.xyz"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
@@ -13,4 +13,4 @@
<hr>
<a
href=
"XYZApp.java"
>
The source
</a>
.
</body>
</html>
</html>
src/share/demo/applets/MoleculeViewer/example3.html
浏览文件 @
e1e39ef2
...
...
@@ -5,25 +5,25 @@
<body>
<h1>
MoleculeViewer (example 3)
</h1>
<hr>
<applet
code=
XYZApp.class
width=
100
height=
100
>
<applet
code=
XYZApp.class
archive=
MoleculeViewer.jar
width=
100
height=
100
>
<param
name=
model
value=
"models/water.xyz"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
</applet>
<p>
<applet
code=
XYZApp.class
width=
100
height=
100
>
<applet
code=
XYZApp.class
archive=
MoleculeViewer.jar
width=
100
height=
100
>
<param
name=
model
value=
"models/benzene.xyz"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
</applet>
<p>
<applet
code=
XYZApp.class
width=
100
height=
100
>
<applet
code=
XYZApp.class
archive=
MoleculeViewer.jar
width=
100
height=
100
>
<param
name=
model
value=
"models/ethane.xyz"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
</applet>
<p>
<applet
code=
XYZApp.class
width=
100
height=
100
>
<applet
code=
XYZApp.class
archive=
MoleculeViewer.jar
width=
100
height=
100
>
<param
name=
model
value=
"models/cyclohexane.xyz"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
@@ -31,5 +31,5 @@
<hr>
<a
href=
"XYZApp.java"
>
The source
</a>
.
</body>
</html>
</html>
src/share/demo/applets/WireFrame/ThreeD.java
浏览文件 @
e1e39ef2
...
...
@@ -416,7 +416,7 @@ public class ThreeD extends Applet
InputStream
is
=
null
;
try
{
Thread
.
currentThread
().
setPriority
(
Thread
.
MIN_PRIORITY
);
is
=
new
URL
(
getDocumentBase
(),
mdname
).
openStream
(
);
is
=
getClass
().
getResourceAsStream
(
mdname
);
Model3D
m
=
new
Model3D
(
is
);
md
=
m
;
m
.
findBB
();
...
...
src/share/demo/applets/WireFrame/example1.html
浏览文件 @
e1e39ef2
...
...
@@ -5,7 +5,7 @@
<body>
<h1>
3D Model: Cube
</h1>
<hr>
<applet
code=
ThreeD.class
width=
100
height=
100
>
<applet
code=
ThreeD.class
archive=
WireFrame.jar
width=
100
height=
100
>
<param
name=
model
value=
"models/cube.obj"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
src/share/demo/applets/WireFrame/example2.html
浏览文件 @
e1e39ef2
...
...
@@ -5,7 +5,7 @@
<body>
<h1>
3D Model: Dinosaur
</h1>
<hr>
<applet
code=
ThreeD.class
width=
300
height=
300
>
<applet
code=
ThreeD.class
archive=
WireFrame.jar
width=
300
height=
300
>
<param
name=
model
value=
"models/dinasaur.obj"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
src/share/demo/applets/WireFrame/example3.html
浏览文件 @
e1e39ef2
...
...
@@ -5,7 +5,7 @@
<body>
<h1>
3D Model: Hughes
</h1>
<hr>
<applet
code=
ThreeD.class
width=
300
height=
300
>
<applet
code=
ThreeD.class
archive=
WireFrame.jar
width=
300
height=
300
>
<param
name=
model
value=
"models/hughes_500.obj"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
src/share/demo/applets/WireFrame/example4.html
浏览文件 @
e1e39ef2
...
...
@@ -5,7 +5,7 @@
<body>
<h1>
3D Model: knoxS
</h1>
<hr>
<applet
code=
ThreeD.class
width=
300
height=
300
>
<applet
code=
ThreeD.class
archive=
WireFrame.jar
width=
300
height=
300
>
<param
name=
model
value=
"models/knoxS.obj"
>
alt="Your browser understands the
<
APPLET
>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the
<
APPLET
>
tag!
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录