* original Japanese entry is here
This entry is Dec 17th of JavaFX Advent Calendar 2012
I am busy because of business and PBL activity at graduate school so cannot write blog entries...
Advent calendar is in fasion this season, and I am in charge of development by JavaFX at PBL so I'd like to write an entry of Java FX.
JavaFX is a GUI librady for Desktop application and I have a lot of desktop application dev experience.
For the first time, developed Windows native application by VC++, by Java, Eclipse plugin development (SWT!), generally JSP + Servlet were major.
So I use SWT not Swing when I develop little things, I familiar it on Eclipse.
I worry about Swing will be maintenanse mode because I am a desktop programmer if it is Swing not SWT.
I began to implement by JavaFX at PBL activity when I worry Swing.
We are developing "Application framework for JavaFX" now and will make it public with documents when we graduate next spring.
So I deal another program in this entry.
I developed "Attending confirmation application" for my company internal events, using emoloyee ID card including Felica card and card reader.
I implemented mostly all code at cafe or home, not business.
The system is that this application is booted on a PC, connected Felica card reader by USB connection,
and touch emoloyee ID card to the reader and logged employee information.
I developed this program as CUI program by C language and move it on command prompt at first (here
is the source code).
CUI is not cool though I was busy and it is unavoidable, however, I decided to convert it from C to Java with Swing GUI in order to improve visual aspects.
Device driver of card reader is DLL and it moves on Windows Native so I use JNA on invoking it from Java.
And developled Java version (Here
is the source code).
Actual use case.
Image of the screen.
This application is so useful that I can uses it attending confirmation at regular comnany internal event for engineers and handson seminar.
Another worker asked me to provide it for a certain event, and it counted over 100 attendee.
So I use it as above but there was comments that Swing GUI was not cool, I began to consider modification for only screen function because I know JavaFX and can it in order to make the application looks more cool.
We can develop rich GUI applocation by JavaFX because can use CSS on JavaFX.
Morever, desktop application like this is suitable.
It is just suitable next generation techmology we shoud use!
...so I planed to modify again and again but I was busy I said above...
I began to do when I write this entry.
And modified screen is here (shadings does't relate to JavaFX...)
It became so cool!
And I'd like to say "Here is the source code", however, I modified only GUI function and card reading function has not integrated yet to my regrettable...
I'd like to see feedback from atendees at company internal event after completion of the modification in near future.
Like this, in my opition, JavaFX may become just "Messiah" to refine non-cool GUI of existing desktop application
We have used Swing for long time so reactivating existing properties by modern GUI is significant
- テーマ : プログラミング
- ジャンル : コンピュータ