锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品色婷婷福利天堂,95影院理论片在线观看,国产日韩欧美三区http://www.aygfsteel.com/humous-cl/zh-cnTue, 17 Jun 2025 15:16:03 GMTTue, 17 Jun 2025 15:16:03 GMT60鏄ㄥぉ鐨勪綔涓氾紙鐢繪澘錛?/title><link>http://www.aygfsteel.com/humous-cl/archive/2006/02/28/32893.html</link><dc:creator>椋樺拷鐫鐨?/dc:creator><author>椋樺拷鐫鐨?/author><pubDate>Tue, 28 Feb 2006 11:02:00 GMT</pubDate><guid>http://www.aygfsteel.com/humous-cl/archive/2006/02/28/32893.html</guid><wfw:comment>http://www.aygfsteel.com/humous-cl/comments/32893.html</wfw:comment><comments>http://www.aygfsteel.com/humous-cl/archive/2006/02/28/32893.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/humous-cl/comments/commentRss/32893.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/humous-cl/services/trackbacks/32893.html</trackback:ping><description><![CDATA[<P>import java.awt.*;<BR>import java.awt.event.*;<BR>import javax.swing.*;</P> <P>import java.awt.image.*;<BR>import com.sun.image.codec.jpeg.*;<BR>import java.io.*;<BR>public class mouse implements ActionListener, WindowListener, MouseMotionListener, MouseListener <BR>{<BR> Frame f;</P> <P> </P> <P> TextField t=new TextField();<BR> int j;<BR> int x,y;<BR> Graphics g,g_in;<BR> int x1,y1;<BR> BufferedImage i;</P> <P> Panel p1=new Panel(new GridLayout(2,3));</P> <P> Button b1=new Button("綰㈣壊");<BR> Button b2=new Button("榛勮壊");<BR> Button b3=new Button("钃濊壊");<BR> Button b4=new Button("緇胯壊");<BR> Button b5=new Button("鐭╁艦");<BR> Button b6=new Button("鍦嗗艦");<BR> <BR>  <BR> mouse()<BR> {<BR>  <BR>  <BR>  <BR> <BR>  t.setEnabled(false);<BR>  <BR>  f=new Frame("鐢誨浘錛?);<BR>  <BR>  p1.add(b1);<BR>  p1.add(b2);<BR>  p1.add(b3);<BR>  p1.add(b4);<BR>  p1.add(b5);<BR>  p1.add(b6);<BR>  <BR>  b1.addActionListener(this);<BR>  b2.addActionListener(this);<BR>  b3.addActionListener(this);<BR>  b4.addActionListener(this);<BR>  b5.addActionListener(this);<BR>  b6.addActionListener(this);<BR>  <BR>  f.add(t,BorderLayout.NORTH);<BR>  f.add(p1,BorderLayout.EAST);<BR>  <BR>  <BR>  f.setSize(400,400);<BR>  int w=(int)Toolkit.getDefaultToolkit().getScreenSize().getWidth();<BR>  int h=(int)Toolkit.getDefaultToolkit().getScreenSize().getHeight();<BR>  <BR>  f.setLocation((w-400)/2,(h-400)/2);<BR>  f.setBackground(Color.ORANGE);<BR>    <BR>  f.setResizable(false); <BR>  f.setVisible(true);<BR>  f.addWindowListener(this);<BR>  f.addMouseListener(this);<BR>  f.addMouseMotionListener(this);<BR>  this.getG();<BR>  <BR> } <BR> public void getG()<BR> {<BR>  f.addMouseListener(this); <BR>  this.g=f.getGraphics();<BR>  i=new BufferedImage(f.getWidth(),f.getHeight(),BufferedImage.TYPE_INT_RGB);<BR>  g_in=i.getGraphics();<BR>  <BR>  <BR>  g_in.setColor(Color.white);<BR>  g_in.fill3DRect(0,0,i.getWidth(),i.getHeight(),true);<BR> <BR> }<BR> <BR> public void actionPerformed(ActionEvent e)<BR> {<BR>  if(e.getSource()==b1)<BR>  {<BR>   g.setColor(Color.red);<BR>   g_in.setColor(Color.red);<BR>  }<BR>  else if(e.getSource()==b2)<BR>  {<BR>   g.setColor(Color.yellow);<BR>   g_in.setColor(Color.yellow);<BR>  }<BR>  else if(e.getSource()==b3)<BR>  {<BR>   g.setColor(Color.blue);<BR>   g_in.setColor(Color.blue);<BR>  }<BR>  else if(e.getSource()==b4)</P> <P>  {<BR>   g.setColor(Color.green);<BR>   g_in.setColor(Color.green);<BR>  }<BR>  else if(e.getSource()==b5)<BR>  {<BR>   j=0;<BR>  }<BR>  else if(e.getSource()==b6)<BR>  {<BR>   j=1;<BR>  }<BR> <BR>  <BR>  <BR>    <BR> }<BR> <BR> public static void main(String args[])<BR> {<BR>  mouse my=new mouse();<BR> }</P> <P> public void windowOpened(WindowEvent e) {<BR> <BR> }</P> <P> public void windowClosing(WindowEvent e) {<BR> try<BR>  {<BR>   ByteArrayOutputStream is=new ByteArrayOutputStream();//鍒涘緩涓涓瓧鑺傜被鍨嬫暟鎹殑鏁版嵁鍖?BR>   <BR>   JPEGImageEncoder coder=JPEGCodec.createJPEGEncoder(is);<BR>   //澹版槑姝ゆ暟鎹尯鍙兘淇濆瓨JPG鏍煎紡鐨勬暟鎹?BR>   <BR>   coder.encode(i);<BR>   //浠庡唴瀛榠鍥劇墖涓彁鍙朖PG鏍煎紡鏁版嵁錛屼繚瀛樺埌鏁版嵁鍖?BR>   <BR>   FileOutputStream fo=new FileOutputStream("a.jpg");<BR>   <BR>   byte[] b=is.toByteArray();//灝嗘暟鎹彁鍙栨垚瀛楄妭鏁扮粍<BR>   <BR>   fo.write(b);//灝嗘暟鎹啓鍏.jpg鏂囦歡涓?BR>   fo.close();//鍏抽棴鏂囦歡鐨勫啓鍏?BR>   <BR>   f.dispose();<BR>   <BR>   JOptionPane.showMessageDialog(null,"鍥劇墖宸蹭繚瀛樹負a.jpg錛岃瀵熺湅錛?); <BR>    <BR>  }catch(Exception el){}<BR> }</P> <P> public void windowClosed(WindowEvent e) {<BR> <BR> }</P> <P> public void windowIconified(WindowEvent e) {<BR> <BR> }</P> <P> public void windowDeiconified(WindowEvent e) {<BR> <BR> }</P> <P> public void windowActivated(WindowEvent e) {<BR>  <BR> }</P> <P> public void windowDeactivated(WindowEvent e) {<BR>  <BR> }</P> <P> public void mouseDragged(MouseEvent e) {<BR>  // TODO: Add your code here<BR> }</P> <P> </P> <P> public void mouseMoved(MouseEvent e) {<BR> t.setText("X:"+e.getX()+"Y:"+e.getY()); <BR>  <BR> }</P> <P> public void mouseClicked(MouseEvent e) {<BR>  // TODO: Add your code here<BR> }</P> <P> public void mousePressed(MouseEvent e) {<BR>  x=e.getX();y=e.getY();<BR> <BR> }</P> <P> public void mouseReleased(MouseEvent e) {<BR>  <BR>  x1=e.getX();y1=e.getY();<BR>   if (j==1)<BR>   {<BR>    if(x1>=x)<BR>    {<BR>   if(y1>=y)<BR>   {<BR>   g.fillOval(x,y,x1-x,y1-y);<BR>   g_in.fillOval(x,y,x1-x,y1-y);<BR>   }<BR>   else if(y1<y)<BR>   {<BR>   g.fillOval(x,y1,x1-x,y-y1);<BR>   g_in.fillOval(x,y1,x1-x,y-y1);<BR>   }<BR>  }<BR>  <BR>  else if(x1<x)<BR>  {<BR>   if(y1<y)<BR>   {<BR>   g_in.fillOval(x1,y1,x-x1,y-y1);<BR>   g.fillOval(x1,y1,x-x1,y-y1);<BR>   }<BR>   else if(y1>=y)<BR>   {<BR>    g.fillOval(x1,y,x-x1,y1-y);<BR>    g_in.fillOval(x1,y,x-x1,y1-y);<BR>   }<BR>  }}<BR>  else if(j==0)<BR>  {<BR>   if(x1>=x)<BR>    {<BR>   if(y1>=y)<BR>   {<BR>  g.fillRect(x,y,x1-x,y1-y);<BR>  g_in.fillRect(x,y,x1-x,y1-y);<BR>   }<BR>   else if(y1<y)<BR>   {<BR>  g.fillRect(x,y1,x1-x,y-y1);<BR>  g_in.fillRect(x,y1,x1-x,y-y1);<BR>   }<BR>  }<BR>  <BR>  else if(x1<x)<BR>  {<BR>   if(y1<y)<BR>   {<BR>   g.fillRect(x1,y1,x-x1,y-y1);<BR>   g_in.fillRect(x1,y1,x-x1,y-y1);<BR>   }<BR>   else if(y1>=y)<BR>   {<BR>    g.fillRect(x1,y,x-x1,y1-y);<BR>    g_in.fillRect(x1,y,x-x1,y1-y);<BR>   }<BR>  }<BR>  }<BR>  <BR>  <BR> <BR> }</P> <P> public void mouseEntered(MouseEvent e) {<BR>  <BR> }</P> <P> public void mouseExited(MouseEvent e) {<BR>  // TODO: Add your code here<BR> }<BR> <BR> <BR>  <BR> <BR> }</P><img src ="http://www.aygfsteel.com/humous-cl/aggbug/32893.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/humous-cl/" target="_blank">椋樺拷鐫鐨?/a> 2006-02-28 19:02 <a href="http://www.aygfsteel.com/humous-cl/archive/2006/02/28/32893.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">永新县</a>| <a href="http://" target="_blank">兴文县</a>| <a href="http://" target="_blank">邛崃市</a>| <a href="http://" target="_blank">东光县</a>| <a href="http://" target="_blank">临夏市</a>| <a href="http://" target="_blank">浑源县</a>| <a href="http://" target="_blank">弥勒县</a>| <a href="http://" target="_blank">额敏县</a>| <a href="http://" target="_blank">木兰县</a>| <a href="http://" target="_blank">三门峡市</a>| <a href="http://" target="_blank">桂平市</a>| <a href="http://" target="_blank">密云县</a>| <a href="http://" target="_blank">陇南市</a>| <a href="http://" target="_blank">海南省</a>| <a href="http://" target="_blank">凤凰县</a>| <a href="http://" target="_blank">洪江市</a>| <a href="http://" target="_blank">海盐县</a>| <a href="http://" target="_blank">秀山</a>| <a href="http://" target="_blank">云南省</a>| <a href="http://" target="_blank">景德镇市</a>| <a href="http://" target="_blank">来宾市</a>| <a href="http://" target="_blank">永城市</a>| <a href="http://" target="_blank">浦城县</a>| <a href="http://" target="_blank">洪洞县</a>| <a href="http://" target="_blank">揭西县</a>| <a href="http://" target="_blank">棋牌</a>| <a href="http://" target="_blank">随州市</a>| <a href="http://" target="_blank">巴彦淖尔市</a>| <a href="http://" target="_blank">东丽区</a>| <a href="http://" target="_blank">靖江市</a>| <a href="http://" target="_blank">德昌县</a>| <a href="http://" target="_blank">新竹县</a>| <a href="http://" target="_blank">沁水县</a>| <a href="http://" target="_blank">大田县</a>| <a href="http://" target="_blank">益阳市</a>| <a href="http://" target="_blank">岳阳县</a>| <a href="http://" target="_blank">遂平县</a>| <a href="http://" target="_blank">原阳县</a>| <a href="http://" target="_blank">烟台市</a>| <a href="http://" target="_blank">同江市</a>| <a href="http://" target="_blank">奉新县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>