cater15
cater15
nothing
关注数: 6
粉丝数: 4
发帖数: 112
关注贴吧数: 9
大三准备做什么?说说自己的想法!?(即将大3的进) 大三准备做什么?
nba球员的穿着! 我还是喜欢原来穿着西哈装饰的NBA球员可是现在一切都太朴实,什么特色也没有了.谁有原来的nba照片???《穿着西哈衣服的人》
选秀问题〉〉〉 今年有没有中国球员!难道姚,易之后还有什么新人吗?也没由记者报道。
938有什么坐车技巧吗? 1从去时什么时候人最少?2还有走的时候人最多。3节假日之前要等多久,才会上车就有。4大家端午节都准备周几走啊?
什么时候课程表下来???兄弟们?有回学校的了吗? 什么时候课程表下来???兄弟们?
有什么meizu E3的问题!!请来看看我的空间!!http://hi.baidu.co 有什么meizu E3的问题!!请来看看我的空间!!谢谢支持!!http://hi.baidu.com/sys/checkuser/cater15/3
谁能解释一下这是什么意思? import javax.swing.*; import javax.swing.event.*; import javax.swing.text.*; import javax.swing.border.*; import javax.swing.colorchooser.*; import javax.swing.filechooser.*; import javax.accessibility.*; import java.awt.*; import java.awt.event.*; import java.beans.*; import java.util.*; import java.io.*; import java.applet.*; import java.net.*; public class ColorChooserDemo extends DemoModule { BezierAnimationPanel bezAnim; JButton outerColorButton = null; JButton backgroundColorButton = null; JButton gradientAButton = null; JButton gradientBButton = null; public static void main(String[] args) { ColorChooserDemo demo = new ColorChooserDemo(null); demo.mainImpl(); } public ColorChooserDemo(SwingSet2 swingset) { // Set the title for this demo, and an icon used to represent this // demo inside the SwingSet2 app. super(swingset, "ColorChooserDemo", "toolbar/JColorChooser.gif"); // Create the bezier animation panel to put in the center of the panel. bezAnim = new BezierAnimationPanel(); outerColorButton = new JButton(getString("ColorChooserDemo.outer_line")); outerColorButton.setIcon(new ColorSwatch("OuterLine", bezAnim)); backgroundColorButton = new JButton(getString("ColorChooserDemo.background")); backgroundColorButton.setIcon(new ColorSwatch("Background", bezAnim)); gradientAButton = new JButton(getString("ColorChooserDemo.grad_a")); gradientAButton.setIcon(new ColorSwatch("GradientA", bezAnim)); gradientBButton = new JButton(getString("ColorChooserDemo.grad_b")); gradientBButton.setIcon(new ColorSwatch("GradientB", bezAnim)); ActionListener l = new ActionListener() { public void actionPerformed(ActionEvent e) { Color current = bezAnim.getOuterColor(); if(e.getSource() == backgroundColorButton) { current = bezAnim.getBackgroundColor(); } else if(e.getSource() == gradientAButton) { current = bezAnim.getGradientColorA(); } else if(e.getSource() == gradientBButton) { current = bezAnim.getGradientColorB(); } // Bring up a color chooser Color c = JColorChooser.showDialog( getDemoPanel(), getString("ColorChooserDemo.chooser_title"), current ); if(e.getSource() == outerColorButton) { bezAnim.setOuterColor(c); } else if(e.getSource() == backgroundColorButton) { bezAnim.setBackgroundColor(c); } else if(e.getSource() == gradientAButton) { bezAnim.setGradientColorA(c); } else { bezAnim.setGradientColorB(c); } } }; outerColorButton.addActionListener(l); backgroundColorButton.addActionListener(l); gradientAButton.addActionListener(l); gradientBButton.addActionListener(l); // Add everything to the panel JPanel p = getDemoPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); // Add control buttons JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS)); buttonPanel.add(backgroundColorButton); buttonPanel.add(Box.createRigidArea(new Dimension(15, 1))); buttonPanel.add(gradientAButton); buttonPanel.add(Box.createRigidArea(new Dimension(15, 1))); buttonPanel.add(gradientBButton); buttonPanel.add(Box.createRigidArea(new Dimension(15, 1))); buttonPanel.add(outerColorButton); // Add the panel midway down the panel p.add(Box.createRigidArea(new Dimension(1, 10))); p.add(buttonPanel); p.add(Box.createRigidArea(new Dimension(1, 5))); p.add(bezAnim); } class ColorSwatch implements Icon { String gradient; BezierAnimationPanel bez; public ColorSwatch(String g, BezierAnimationPanel b) { bez = b; gradient = g; } public int getIconWidth() { return 11; } public int getIconHeight() { return 11; } public void paintIcon(Component c, Graphics g, int x, int y) { g.setColor(Color.black); g.fillRect(x, y, getIconWidth(), getIconHeight()); if(gradient.equals("GradientA")) { g.setColor(bez.getGradientColorA()); } else if(gradient.equals("GradientB")) { g.setColor(bez.getGradientColorB()); } else if(gradient.equals("Background")) { g.setColor(bez.getBackgroundColor()); } else if(gradient.equals("OuterLine")) { g.setColor(bez.getOuterColor()); } g.fillRect(x+2, y+2, getIconWidth()-4, getIconHeight()-4); } } }
刘德华的什么歌曲好听?? 刘德华的什么歌曲好听,除(冰雨,练习)!!
谁能在建一翠城论坛!!! 谁能在建一翠城论坛!!!这样的生活太乏味了!不知道翠城邻居的事情!!简直就是一潭死水!!!!由网络高手没???
中国电影关于发生在平房的事? 谁知道!!!·中国电影关于发生在平房的事?
国际商务问题! 什么是排斥贸易利益?什么是静态利益?什么是动态利益?
朝阳垡头这边哪有卖包的啊!!质量好点的!! 朝阳垡头这边哪有卖包的啊!!质量好点的!!
bt和迅雷能一起使用吗? bt和迅雷能一起使用吗?为什么?
西捷病毒! 我刚买的西捷,怎么就拿卡巴扫除毒来了!!!还是自带的移动硬盘自带的。
nero(请教高手!) 刻录后怎么设置能自动删除文件 !详细点
nero, 刻录后自动删除文件 !详细点 刻录后自动删除文件
NBA球迷的选择!!!38690849
NBA球迷群38690849!(能砍者)打造中国球迷的群!!! 这里有热衷于NBA的忠实fans!!!赶快加入!!
刻录后自动删除文件???急! 刻录后自动删除文件
刷刷空间!!绝对经典!! http://user.qzone.qq.com/313246239
无聊大学!!情感吧!! 来看看我的大学经历!无聊啊!! http://user.qzone.qq.com/313246239
qq空间问题 我的空间用火狐进不去,老显示是在加载数据!可是用ie就没事!但是ie不显示播放器,请问高手怎么回事!!解决办法!!thanks
请教高手!!qq空间最底下的背景怎么该阿!! qq空间最底下的背景怎么该阿!!谢谢!!详细点!
谁报选修了!!! 谁报选修了!!!什么时候报的?
大三有卖本的吗???通电的那种!!! 大三有卖本的吗???
卡巴运行变成2005 我的卡巴运行后,时间就变成2005年的现在月什么了,可是其他却正常,可斯基授权文件激活码过期,时间改回就好了,可是不能老改啊!!!重启后bios还是07年怎么办啊!!高手帮助!!
大学里的女生都是为了钱吗?? 大学里的女生都是为了钱吗??为什么,大学男,女有真爱吗?他们吃或是买东西都把男生当成提款机在用。为什么啊~~~
问题!!!!急急急!!! 请问一下,在那个网站发帖,受到的回复多。(电脑问题)
问题 为什么!我的电脑不能双开!街篮和跑跑同时,双核的
播放器问题 怎么把桌面上的歌曲文件默认不用midea player ,换成他播放器图标呢??请教高手
换播放器图标 怎么把桌面上的歌曲文件默认不用midea player ,换成他播放器图标呢??请教高手
IE问题 我的电脑在用IE上网时没法看有动作的图片,怎么弄啊?调那里?
关于魅族E3 为什么魅族E3 MP3看电子书时间不能坚持太久,我用的是GP,300毫安时,怎样才能省电,因为我们宿舍总是安时断电,所以电池是不是有损坏啊!我真是无奈。充电电池是不是比一般电池存的电量要少得多。
有没有背景崔城的,来大学城上学,搭伴!!!! 有没有背景翠城的,来大学城上学,搭伴!!!!
windows问题 我想问问怎样能改windows中图标的颜色,还有BT为什么深夜下载总会死机。
java软件 谁知道java刚学时用什么软件吗??我搜了好多,都是病毒!谁告诉我一下,各路高手!
北京人进!!谁是崔城的住户 大学能学点什么,大学城开设的班太烂了!也不方便!做点什么打消时间啊?
938 难做的938,也不加车,什么破交通啊!!!
1
下一页