Java & .NET Class Library for Vietnamese Text Input

Java/.NET cross-platform text editor

Moderator: quân

Java & .NET Class Library for Vietnamese Text Input

Postby quân » Sun Dec 26, 2004 11:33 pm

Để tích hợp khả năng gõ Tiếng Việt vào các standard text components.

To integrate Vietnamese typing capability to standard text components.

http://vietpad.sourceforge.net/library.html

Trong vài trường hợp, chỉ cần một hàng code để thêm chức năng gõ cơ bản vào chương trình của bạn:

In some cases, it takes only one line of code to add the basic typing functionality to your program:

Code: Select all
textComp.addKeyListener(new VietKeyListener(textComp)); // Java

Code: Select all
textComp.KeyPress += new KeyPressEventHandler(new VietKeyHandler(textComp).OnKeyPress); // C#
quân
 
Posts: 233
Joined: Sat Nov 16, 2002 1:51 am
Location: Oxnard, CA - USA

Postby quân » Sat Feb 05, 2005 6:13 pm

Mới thêm hỗ trợ cho editable ComboBox.

Just added support for editable ComboBox.

Code: Select all
comboBox.setEditable(true); // Java
VietKeyListener keyLst = new VietKeyListener(comboBox); // do not use addKeyListener for JComboBox

Code: Select all
comboBox.KeyPress += new KeyPressEventHandler(new VietKeyHandler(comboBox).OnKeyPress); // C#
quân
 
Posts: 233
Joined: Sat Nov 16, 2002 1:51 am
Location: Oxnard, CA - USA


Return to VietPad

Who is online

Users browsing this forum: No registered users and 0 guests

cron