星期四 三月 12, 2009

Dear all,We've hold a tech talk about JavaSE application with NetBeans 6.5 successfully.

We hold it at Room 209,teaching building F from 3:00pm to 5:00pm.There're about 60 attendees.

Below is  the agenda:

3:00-3:30 What's JavaSE
3:30-4:30 how to do JavaSE programming in NetBeans 6.5
4:30-5:00 GDUFS OSUM promotion and Q&A

Students were all very interested in this topic and asked me many quetions after the tech talk.

We're plaaning to hold  another one as soon as possible.

Here are  some photos,pls enjoy them:-D

(1)I was introducing  the GDUFS OSUM

(2)Our GDUFS OSUM on line

 

(3)Students were asking questions

(4) Some girls( attending  the tech talk) and me


星期四 三月 05, 2009

The time when NetBeans 6.5 releases,many Chinese users feel that the default  interface and font are not so attractive in the windows xp environment .So I'd like to share my exprience of  how to do the interface embellishment and font setting.

(1)Install the newest JDK

Pls download the Java SE Development Kit (JDK) 6 Update 10 or higher edition to supprot the antialiasing font better.

The JDK download link:http://java.sun.com/javase/downloads/index.jsp

(2)Install ClearType

ClearType Tuner PowerToy can be used ot adjust the Expert Settings of antialiasing font.With the help of it, you can make the font more boldfaced.

Download this software:http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

(3)Modify the start setting of NetBeans

 Open filw netbeans.conf  from the path C:\Program Files\NetBeans 6.5\etc\ and find the lines like below:

# Options used by NetBeans launcher by default, can be overridden by explicit # command line switches: netbeans_default_options=.....

Add –fontsize 12 –laf javax.swing.plaf.metal.MetalLookAndFeel to the parameter string of netbeans_default_options  ,then it looks like this:

(4)Modify the setting of  Java font

Open  C:\Program Files\Java\jdk1.6.0_10\jre\lib ,Rename or delete the   fontconfig.98.bfc and fontconfig.98.properties.src two files.After that, Make a copy of  fontconfig.properties.src and save as  fontconfig.properties, then open the fontconfig.properties  with text editor .

The reason why modifying  the conf file is to display the Java Program with diffrent font when ie has both  Chinese and English strings. Like this belowing code:

/**
 * 通过控件视图渲染结果
 *
 * 对应的控件视图文件是 view/_controls/footer_control.php 。
 */
$this->_renderBlock('footer', $return);

The Chinese part Use Song Ti and the English part use  Consolas, Here is the displaying  effect:

 

In order to achieve the above effect, it needs to modify three parts of the font file.

A:Defination of filename:Make sure the correspondence between  font name and the font filename;

B:The correspondence between  virtual font and actual font:Make sure which actual font is used to display

the specific virtual font;

C:Make sure which font can be used to display the strings.

The font filename can use the belowing format.You can also define your favorite font by yourself.But please should keep it in mind that the font  name can not be used in Chinese.Like below:

# filename. 字体名=字体文件名

filename.Consolas=CONSOLA.TTF
filename.Consolas_Bold=CONSOLAB.TTF
filename.Consolas_Italic=CONSOLAI.TTF
filename.Consolas_Bold_Italic=CONSOLAZ.TTF

After defining the font name, we can specify the  correspondence between  virtual font and actual font.

For example:I make the default  monospaced (virtual font)specify to the newly defined  Consolas ,and

change the configuration as follows:

        monospaced.plain.alphabetic=Courier New
        monospaced.bold.alphabetic=Courier New Bold
        monospaced.italic.alphabetic=Courier New Italic
        monospaced.bolditalic.alphabetic=Courier New Bold Italic
       #
modified as

monospaced.plain.alphabetic=Consolas
monospaced.bold.alphabetic=Consolas Bold
monospaced.italic.alphabetic=Consolas Italic
monospaced.bolditalic.alphabetic=Consolas Bold Ttalic

Finally,make change for the font searching order .After modifing,it will search for English font first and Chinese font second.As there is no Chinese font style in the English font,so it is showed clearly when using different English and Chinese font.

        sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol
        sequence.monospaced.GB18030=chinese-gb18030,alphabetic,dingbats,symbol
        # Modified as
       sequence.monospaced.GBK=alphabetic,chinese-ms936,dingbats,symbol
       sequence.monospaced.GB18030=alphabetic,chinese-gb18030,dingbats,symbol

 

After finishing all the steps above, restart NetBeans,it  looks like more attractive. 

星期日 十二月 28, 2008

We've hold the Opensolaris 2008.11 new feature introduction tech talk successfully tonight from 6:30pm to 8:40pm.Below are the details:

Time:  6:30pm to 8:40pm,Dec. 28th,2008

Location:room 107,teaching building B,GDUFS

Topic:Opensolaris 2008.11 new feature introduction

Atendee:60

Agenda:

6:30pm to 7:00pm:Unix  Solaris\and Opensolaris introduction

7:00pm to 7:40pm Waht's new in Opensolaris 2008.11 vs 2008.05

7:40pm to 7:50pm Break

7:50pm to 8:30pm How to install Opensolaris 2008.11 on virtualbox

8:30pm to 8:40pm Q&A

We did have a very good time tonight.We talked about the Solaris,the Opensolaris 2008.11.many students even talked their own opinion about the 2008.11 VS 2008.05.When Iwas showing how to install Opensolaris 2008.11 on virtualbox,everyone felt excited and watched the slides very carefully.

After the tech talk,many student stayed to ask questions about the Opensolaris 2008.11.and they wanted the LiveCD very much.

Here are some photos,pls enjoy them :-)

(1)I'm preparing the tech talk

(2)Talking about the installation of opensolaris 2008.11

(3)Unix evolution

(4)One student is talking  their own opinion about the 2008.11 VS 2008.05

(5)Students ask questions when the tech talk ends

星期六 十一月 29, 2008

On Nov.28,2008,from 7:30pm to 10:00pm ,we held NetBeans Party successfully in our GDUFS.

Location: room 107,Teaching Building B,GDUFS,Mega Universtiy North

Attendee:60

Topic: NetBeans 6.5 new feature sharing & Brainstorming and discussing about GDUFS OSUM's development

Belowing are the details:

 7:30pm--7:50pm   Welcoming and share meaning of the party
 7:50pm--9:20pm   NetBeans 6.5--The Only IDE You Need
 9:20pm-10:00pm   Exploring the development of GDUFS OSUM with all attendees

We did have a good time last night.Students showed great interesting to the NetBeans 6.5,with the tech demo written by me.After the tech talk,we focused on the GDUFS OSUM,students gave me lots of useful  advice.

Here are some photos at the spot and even one media which was taken when a Junior sharing his opinion of OSUM.

(1)The delicious food and drinks,even the tissues:

(2)Listening to the NetBeans 6.5 tech talk

(3)Listening to the NetBeans 6.5 tech talk

(4)Focus on the tech talk

(5)Attracted by the new feature of NetBeans 6.5

(6)Sharing opinions about the GDUFS OSUM

(7) Junior's advice about how to improve GDUFS OSUM

You can also enjoy this media file at:http://www.tudou.com/programs/view/XeIbD8sV42g/

星期二 十月 28, 2008

On 10, 27th, 2008,we held an lecture as well as tech talk about SCJP&Java SE, and twenty minutes before the lecture ended, I gave a brief introduction to the audience about the GDUFS OSUM,mainly focus on the unix-center.

Below are the details of this lecture:

Location: Room 404,Teaching Building E,GDUFS,Mega University

Time: 2008.10.27 7:00pm-9:00pm

Agenda:

7:00pm--7:40pm SCJP introduction

7:40pm--8:30pm Java SE introduction& Tech demo

8:30pm--8:50pm Unix-center Introduction

8:50pm--9:00pm Q&A

The photos are under  arrangement and will be uploaded before tonight. :-)

Besieds,I'm gonna hold a tech talk about Dtrace in early Nov.

 

 

 

星期日 十月 19, 2008

 Location: room 308,teaching building c of GDUFS,mega university;

Time: 2008.10.18 2:30pm-4:40pm;

Topic: Solaris overview and Java Introduction

Speaker:Shan Wang

Attendance:120

Agenda:

  1. The history of Operating System& Unix and Solaris 2:30-3:00

  2. Open source Introduction 3:00-3:20

  3. Opensolaris Installation 3:20-3:50

  4. Java tech demo displaying and explaination 3:50-4:10

  5. GDUFS OSUM& Unix-center 4:10-4:30

  6. Q&A                                       4:30-4:40

It's really a great honor for me to have Mr Kai.Ye,the tutor of Grade 2008 to give us the open welcome.This activity turned out to be very successful, as 80% of the feedback gave me 5 score and all students were very passinate .During the lecture,they kept on asking me questions and showed great interest to my speaking.

After the lecture, I even answer questions for more than 40 minutes.

Pls enjoy the photos below.:-)

(1)openning welcome-Mr Ye

(2)Watching OS revolution

(3)Listening to the Solaris overview

(4)Wacthing the Java demo

(5)Introducing Open Source&Unix-center

星期日 九月 28, 2008

 

SFD Celebration in GDUFS(GuangDong University of Foreign Studies) has been hold successfully on Sep.21 2008 from 2:00pm to 4:50pm. There's been more than 120 students to join with us(It's a pity that all the Freshmen have been to the military training so they couldn't join with the SFD )

Me, as the Campus Ambassador in our university ,have invited Frank Huang(Sun's account manager)、ca QunQun.Huang in GDUT& Luohua.Huang in Sun Yat-Sen University to join us during this celebration.

What's more ,I've invited the Party deputy secretary  of School of Informatics to give us the opening welcome.

The detali agenda was as follows:

14:00 - 14:10   Opening welcome given by Party deputy secretary of School of Informatics

14:10 - 14:50   Introduction about FOSS's conception and history by myself

14:50 - 15:25   Sun in education by Sun's Account manager-Frank Huang

15:25 - 15:50   SFD celebration by myself

15:50 - 16:20   Displaying the 3D desktop and brief Introduction on Installing  OpenSolaris with Sun VirtualBox by Qunqun.Huang

16:20 - 16:35   Introduction of Sun's developing tools by Luohua.Huang

16:35-16:50    Q&A; Summarize;Give away CDs and T-shirts to the successful people by myself and the staff in Quanta Information Center

During this celebration, students have been very interested in my speech and FOSS.I've got at least 20 Emails after this celebration to ask me about the installation of Opensolaris and sth like this.

I'd like to thank Frank very much for has been to our University specially ; Besides, Qunqun is very kind too ,to join with me , give me some advice during the SFD preparation. Also Luohua,to be the first one coming to the  site of activity  and his speech.

Belowing are some photos during the celebration:

1)The opening welcome by   Party deputy secretary  of School of Informatics

The openning welcome by    Party deputy secretary   of School of Informatics

2) Sun in Education by Frank Huang

Sun in Education

Sun in Education

3)Brief introducation about Opensolaris 2008.05 by Qunqun.Huang

4) Q&A

5) Me and some students in the Quanta Center after this celebration

This blog copyright 2009 by Shan Wang