2013年2月28日 星期四

Wi-Fi connection with osx 10.8

1. After installed the Apple Osx 10.8, every things alright, but except the network card, I have on board network card, and a RT8139 network card, also a edimax ew-7711umn wireless USB, but nothing can be found in OSX, 2. Then I download the edimax USB wi-fi driver from here,
then installed to OSX, after some tuning,
I config the ip address and router address manually, then worked fine.
‧Support > By Products > Wireless Range Extenders / Access Points / Bridges > EW-7711UMn
but I want RT8139 working back.

轉 apple osx 10.8到USB drive

成功地安裝Apple OSX 10.8 到imation classic 16GB USB drive, 方法如下到:
1. 自己準備OSX 10.8 (Niresh 12495 USB dmg), imation classic 8GB +, USB keyboard, USB mouse, network card, ASUS mainboard, 2GB RAM DDR3, ATI Radon HD 45xx display card.
2. 下載 TransMac V10.4, 15 DAY 試用可以了, 用管理員特權開.
3.
-Format USB drive, 4.


-燒到USB DRIVE,
5. 十至十五分鐘完成.
6. 用USB起機, 進入後再選Disk Utility 格式代成osx journaled, 完全後關掉disk utility,
7, 之後一步一步向前便可以, 如一次不成, 重複以上動作, 用customized去調教了.

2013年2月27日 星期三

執行有錯誤

URL url = MyImageIcon.class.getResource("cloud.png"); Icon icon = new ImageIcon(url);
我將程式執行, 有以上代碼. 出現以下錯誤:

run: Exception in thread "main" java.lang.NullPointerException

at javax.swing.ImageIcon.(ImageIcon.java:205)

at swing.MyImageIcon.(MyImageIcon.java:15) at swing.MyImageIcon.main(MyImageIcon.java:28) Java Result: 1 BUILD SUCCESSFUL (total time: 1 second)

public ImageIcon (URL location) { this(location, location.toExternalForm());

把cloud.png放在以下目錄, 即解決. (...)Documents\NetBeansProjects\MyImageIcon\build\classes\swing
新的一年, 祝自己事事順利, 願望得心應手,...