내 남자의 길~!
Ishaya
성군.story
(740)
Java
(173)
J2SE
(49)
J2EE
(4)
Spring Boot
(6)
JSP
(8)
JavaFx
(20)
eclipse
(24)
swing
(38)
SWT
(1)
ant
(8)
JMF
(3)
Etc
(10)
Window Programming
(49)
C
(13)
C++
(0)
win32 api
(16)
VB.NET
(3)
Visual studio
(14)
Programming
(7)
Python
(10)
Mobile
(1)
ProJ
(22)
GudaMail
(7)
WinExit
(5)
GudaSong
(1)
GudaFTP
(1)
GudaWinSet
(2)
GudaMoreTran
(3)
PowerBuilder
(13)
lecture
(8)
function()
(1)
Tips
(4)
DBMS
(35)
Sybase
(13)
Oracle
(8)
MSSQL
(2)
DB tool
(6)
SQL
(2)
Lecture
(2)
Web
(44)
HTML
(9)
XML
(12)
Javascript
(23)
Security
(60)
Lecture
(6)
Reverse
(5)
Assembly
(8)
UPX&MUP
(2)
Tip&Tech
(15)
Tool
(18)
Rv_works
(4)
ComputerScience
(16)
Design Patterns
(4)
SE_SQA
(2)
Tool
(9)
OS
(24)
Mac
(2)
Vista
(5)
Solaris
(1)
해킨토시
(2)
Linux
(13)
Windows
(1)
IOT
(1)
내 남자의 길
(119)
성군のstory
(43)
구입도서
(46)
구입예정도서
(8)
재테크
(13)
복싱
(4)
바이크
(5)
DevStory
(51)
Seminar
(36)
Developer story
(12)
CryptoCurrency
(2)
IT mailing
(63)
IBM DeveloperWorks mailing
(32)
microsoft mailing
(6)
sun mailing
(10)
Robocode
(7)
IBM Student Monitoring Agen..
(7)
Favorites site
(8)
Tips
(23)
Utility
(11)
/
/
블로그 내 검색
swt Text 숫자만 입력
Ishaya seon
2011. 7. 26. 16:07
2011. 7. 26. 16:07
반응형
Text txt_num = new Text(composite,SWT.BORDER); final RowData rd_txt_num = new RowData(); rd_txt_num.width = 34; txt_num.setLayoutData(rd_txt_num); txt_num.setTextLimit(4); txt_num.addVerifyListener(new VerifyListener(){ @Override public void verifyText(VerifyEvent e) {//숫자만 입력받는다. e.doit = e.text.matches("[0-9]*"); }});
공유하기
게시글 관리
내 남자의 길~!
+ Recent posts
Powered by
Tistory
, Designed by
wallel
Rss Feed
and
Twitter
,
Facebook
,
Youtube
,
Google+
티스토리툴바
내 남자의 길~!
구독하기