自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我是一个包子

再不努力就什么都没有了啦!

  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

原创 Jbutton的经典用法

JAVA中JButton常用设置   1、 对JButton大小的设置      ——因为JButen是属于小器件类型的,所以一般的setSize不能对其惊醒大小的设置,所以一般我们用      button.setPreferredSize(new Dimension(30,30));      //(30,30) 是你要设置按钮的大小 2、 对JButton透明的设置  

2015-01-09 15:03:42 4507

原创 &和&&

8.下面代码的输出是(   C  ) class C{ public static void main(String[] args){ int x = 1; System.out.print((x > 1) & (x++ > 1)); System.out.print(“ ”); System.out.print((x > 1) && (x++ > 1)); } } (A) fa

2015-01-08 11:19:05 327

原创 if,else if,else的执行

14.boolean bool = true; if(bool = false) { System.out.println(“a”); } else if (bool) { System.out.println(“b”); } else if (!bool) { System.out.println(“c”); } else { System.out.println(“d”);

2015-01-08 10:16:28 1038

SPFA算法.doc

SPFA算法,acm常用的算法,求最短路径

2015-02-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除