Results 1 to 8 of 8
Thread: Form from scratch
- 07-30-2011, 05:40 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 25
- Rep Power
- 0
-
- 07-30-2011, 06:35 PM #3
Uh... write your own JNI interface to the native window/widget library, I guess.
Why in the world would you not use Swing/AWT?Get in the habit of using standard Java naming conventions!
- 07-30-2011, 07:14 PM #4
Member
- Join Date
- Dec 2010
- Posts
- 25
- Rep Power
- 0
By form I mean a GUI form. The reason why I want to build it from scratch is I’m tired of fumbling in the dark every time I want to do something which leans half an inch outside the box. So let’s pretend swing and awt do not exist and I want to create a form, how do I do it?
- 07-30-2011, 07:17 PM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 07-30-2011, 07:28 PM #6
Sounds like Java is not the language for you. Java deliberately restricts you to doing things in portable ways.I’m tired of fumbling in the dark every time I want to do something which leans half an inch outside the box.
So yeah... you want to code forms "outside the box", find a Java binding to your platform's native window/widget library (like this) or write your own.Get in the habit of using standard Java naming conventions!
- 07-30-2011, 07:44 PM #7
Member
- Join Date
- Dec 2010
- Posts
- 25
- Rep Power
- 0
Ok, I'll let it go. But for the record, I don't think "accurate dragging on a touch screen", to give you an example, is possible using either swing, awt or (in the case of midlets) lwuit. The fact that they average the width of the touched surface means that any slight difference of pressure or rolling of the finger will translate into a movement.
- 07-30-2011, 09:39 PM #8
I don't think the type and precision of the pointer input device are even accessible to the standard Java API. Java operates at a much higher level of abstraction. The details of pointer hardware probably demand native code and JNI bindings.
Get in the habit of using standard Java naming conventions!
Similar Threads
-
creating an image from scratch
By satanfx55 in forum AWT / SwingReplies: 2Last Post: 05-15-2011, 11:59 AM -
java from scratch
By waqar100 in forum New To JavaReplies: 2Last Post: 10-06-2010, 08:05 AM -
Data wouldnt't read from my form called 'express' in form'ticketing'
By realmadrid_000 in forum AWT / SwingReplies: 8Last Post: 10-03-2010, 09:45 AM -
gui builder vs from scratch
By dinosoep in forum New To JavaReplies: 5Last Post: 08-08-2010, 11:12 AM -
creating webservice from the scratch(from the wsdl) with jaxws
By devday in forum New To JavaReplies: 1Last Post: 08-10-2009, 11:51 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks