楼主: NewOccidental
2492 11

Swing for Jython [推广有奖]

  • 0关注
  • 6粉丝

已卖:1556份资源

副教授

31%

还不是VIP/贵宾

-

TA的文库  其他...

Complex Data Analysis

东西方金融数据分析

eBook with Data and Code

威望
0
论坛币
11779 个
通用积分
2.3950
学术水平
119 点
热心指数
115 点
信用等级
114 点
经验
8940 点
帖子
173
精华
10
在线时间
30 小时
注册时间
2006-9-19
最后登录
2022-11-3

楼主
NewOccidental 发表于 2015-4-12 07:06:50 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Swing for Jython
Graphical Jython UI and Scripts Development using Java Swing and WebSphere Application Server


Book Description

This book shows you how to use Swing to add a GUI to your Jython scripts, with an emphasis on the WebSphere Application Serverwsadmin utility. In fact, we're going to teach you Swing using Jython, and we're going to do it in a way that, hopefully, that makes your scripts easier for people to use, more robust, more understandable, and therefore easier to maintain.

This book is for experienced Java programmers who have experience with Jython and at least some experience maybe with Swing.
Book Details
Publisher:Apress
By:Robert A. Gibson
ISBN:978-1-484208-18-2
Year:2014
Pages:500
Language:English
File size:22 MB
File format:PDF
eBook
Download:

本帖隐藏的内容

Swing for Jython.rar (17.53 MB, 需要: 20 个论坛币) 本附件包括:
  • Swing for Jython.pdf




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Swing Wing For ING Win therefore emphasis people easier Java

已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
crystal8832 + 24 + 2 + 2 + 2 精彩帖子

总评分: 论坛币 + 24  学术水平 + 2  热心指数 + 2  信用等级 + 2   查看全部评分

本帖被以下文库推荐

沙发
bailihongchen(未真实交易用户) 发表于 2015-4-12 11:27:54
感谢楼主分享顶一个

藤椅
cwh.xpx(未真实交易用户) 发表于 2015-5-6 17:48:25
用java和python写GUI蛮有趣,谢谢分享

板凳
Lisrelchen(未真实交易用户) 发表于 2017-2-12 07:46:57

报纸
ReneeBK(未真实交易用户) 发表于 2017-2-12 08:31:46
  1. Listing 4-1. classes.py

  2. def classes( Class, pad = '' ) :
  3.     print pad + str( Class )
  4.     for base in Class.__bases__ :
  5.         classes( base, pad + '| ' )
  6. Using this function, you can display the JButton class hierarchy
复制代码

地板
ReneeBK(未真实交易用户) 发表于 2017-2-12 08:32:08
  1. Listing 4-2. JButton class hierarchy

  2. wsadmin>from javax.swing import JButton
  3. wsadmin>
  4. wsadmin>classes( JButton )
  5. javax.swing.JButton
  6. | javax.swing.AbstractButton
  7. | | javax.swing.JComponent
  8. | | | java.awt.Container
  9. | | | | java.awt.Component
  10. | | | | | java.lang.Object
  11. | | | | | java.awt.image.ImageObserver
  12. | | | | | java.awt.MenuContainer
  13. | | | | | java.io.Serializable
  14. | | | java.io.Serializable
  15. | | java.awt.ItemSelectable
  16. | | javax.swing.SwingConstants
  17. | javax.accessibility.Accessible
  18. wsadmin>
复制代码

7
ReneeBK(未真实交易用户) 发表于 2017-2-12 08:32:27
  1. Listing 4-3. The Java Code to Create a Button and Add It to a Frame

  2. JFrame frame = new JFrame( "ButtonDemo" );
  3. frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
  4. JButton button = new JButton( "Press me" );
  5. frame.add( button );
  6. frame.pack();
  7. frame.setVisible( true );
复制代码

8
ReneeBK(未真实交易用户) 发表于 2017-2-12 08:32:58
  1. Listing 4-4. The Verbose Jython Way to Do the Same Thing

  2. frame = JFrame( 'ButtonDemo_01' )
  3. frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE )
  4. button = frame.add( JButton( 'Press me' ) )
  5. button.addActionListener( ButtonPressed() )
  6. frame.pack()
  7. frame.setVisible( 1 )
复制代码

9
ReneeBK(未真实交易用户) 发表于 2017-2-12 08:33:24
  1. Listing 4-5. The wsadmin interactive session to create and add a button

  2. wsadmin>from javax.swing import JFrame, JButton
  3. wsadmin>frame = JFrame( 'ButtonDemo_01' )
  4. wsadmin>button = JButton( 'Press me' )
  5. wsadmin>frame.add( button )
  6. javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=...
复制代码

10
ReneeBK(未真实交易用户) 发表于 2017-2-12 08:33:57
  1. Listing 4-8. Another look at the JFrame class hierarchy

  2. wsadmin>from javax.swing import JFrame
  3. wsadmin>
  4. wsadmin>classes( JFrame )
  5. javax.swing.JFrame
  6. | java.awt.Frame
  7. | | java.awt.Window
  8. | | | java.awt.Container
  9. | | | | java.awt.Component
  10. | | | | | java.lang.Object
  11. | | | | | java.awt.image.ImageObserver
  12. | | | | | java.awt.MenuContainer
  13. | | | | | java.io.Serializable
  14. | | | javax.accessibility.Accessible
  15. | | java.awt.MenuContainer
  16. | javax.swing.WindowConstants
  17. | javax.accessibility.Accessible
  18. | javax.swing.RootPaneContainer
  19. wsadmin>
复制代码

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-22 07:33