咖啡机 界面

时间:2018-01-20 02:38:59
【文件属性】:

文件名称:咖啡机 界面

文件大小:1.76MB

文件格式:ZIP

更新时间:2018-01-20 02:38:59

大红鹰 咖啡机 界面UI

package com.dhy.coffee.view; import javax.swing.BorderFactory; import javax.swing.JPanel; import javax.swing.border.BevelBorder; import com.dhy.coffee.view.body.BodyPanel; import com.dhy.coffee.view.body.CapStone; import com.dhy.coffee.view.body.ConnerStone; public class CoffeeCabinet { private JPanel cabinetView; public CapStone capstone; public BodyPanel bodypanel; public ConnerStone connerstone; public CoffeeCabinet(){ cabinetView = new JPanel(); cabinetView.setLayout(null); capstone = new CapStone(); capstone.getView().setBounds(0, 0, 400, 200); bodypanel = new BodyPanel(); bodypanel.getView().setBounds(0, 200, 400, 200); connerstone = new ConnerStone(); connerstone.getView().setBounds(0, 400, 400, 280); cabinetView.add(capstone.getView()); cabinetView.add(bodypanel.getView()); cabinetView.add(connerstone.getView()); cabinetView.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED)); } public JPanel getView(){ return cabinetView; } }


【文件预览】:
coffeeATM
----.project(385B)
----src()
--------resource()
--------com()
----.settings()
--------org.eclipse.jdt.core.prefs(598B)
----.classpath(301B)
----bin()
--------resource()
--------com()

网友评论

相关文章