allstars' blog
shut the fuck up and write some code
Tuesday, August 17, 2010
gcin on ubuntu
sudo vi /usr/lib/gtk-2.0/2.10.0/immodule-files.d/gcin.immodules
"gcin" "gcin Input Method" "gcin" "/usr/share/locale" "" <- 最後面本來是 "*" 把*拿掉
Wednesday, August 11, 2010
ubuntu lucid on lenovo x201
boot option 後面的 -- 刪除
加上xforcevesa i915.modeset=0
Tuesday, August 10, 2010
illegal forware reference in java
case 1: 比較常見的
class Test {
String s = "hello";
class inner {
inner () {
String s = s; // <- illegal forward reference
}
}
}
case 2: 比較特別的 即使sStr是static也會
class Test2 {
static {
System.out.println(sStr); // <- illegal forward reference
}
private
static
String sStr = "hello World";
}
‹
›
Home
View web version