[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-java
Subject:    [Kde-java] Javalib on Windows
From:       jansdal () it ! dk
Date:       2001-08-22 7:12:48
[Download RAW message or body]

Hi Richard (and group),

I've checked out the Javalib from the kde cvs and managed 
to compile it under Windows with success. There are 2 minor 
problems but now I have a working ScribbleWindow and some 
other small java-programs. 

I must say that I'm really impressed by the speed of these 
java/Qt programs. This is the way GUI should have been 
done instead of the memory hungry and slow Swing classes.

Just wait until the java world finds out that it's possible 
to have a java program with tabs, tables, trees, splitters 
and all the other widgets in less than ? Mb RAM, thats 
speedy and starts up in a snap. I think we are talking big 
headlines.

This could be the return of java programs on clients, and 
a way to compete with the upcoming C# programs, where GUI
programs isn't that slow because they use native widgets.
And without sacrificing platform independance.

The 2 problems I'm having are:

1. The linker complains about some unresolved externals in 
QPrintDialog. I haven't digged into this problem, but by 
excluding the file from my project I'm able to produce a 
QtJava.dll file (size 1.13 Mb).

2. When I run the ScribbleWindow program I get an 
assertion:
ASSERT: "src_dc && dst_dc" in C:\Home\andy\qt\2.3\src\
kernel\qpaintdevice_win.cpp (311)
I have no ideas what this problem is about since I don't 
have the source code for qpaintdevice_win.cpp.

There are two drawbacks with this javalib. First, its 
not compatible with Swing so existing Swing programs 
can't easily be converted and second, the commercial 
edition of Qt from TrollTech is very expensive. (I'm 
using the freeware edition, because I cannot afford to 
buy the commercial edition. This is something that I do 
in my spare time.)

What I'm going to do now is write a demo program that 
includes most of the widgets, to see the memory usage, 
speed and startup time. 

Before I found out that you where writing this javalib, 
I actually was trying to do the same. And I managed to
implement some of the basic widgets. My wrappers did almost
the exact same thing of yours, with the exception of how 
the widgets were allocated. In my aproach each widget holds 
a native handle to a C++ widget. If you are interested I 
can sent you a copy of my work.

How are you going to tell the java world that you have 
something unique. I hope that it's not going to live a 
quiet life hidden deep down in the kde bindings. Not that 
kde isn't a good thing, it definitely is, but a way to 
convert all these windows users is to show them that the 
programs that they use and like also run on linux. 
Unmodified, just copy the jar file to the linux box and 
off we go.

Keep up the good work.


Best regards

Steen Jansdal



_______________________________________________
Kde-java mailing list
Kde-java@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-java

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic