[ The Java FAQ Daily Tips, weekly publication ]
"...if you have no mentors
around in the initial stages."
"This book has saved me hours of
Foreword: Excuse me for
possible mistakes. English is not native language for me.
In this issue:
Hello dear friends!
200+ Tips are
I keep my promises! I am
glad to anounce that I am ready with my second free upgrade "200+ Java
Tips" of my e-Book "500 Java Tips". This update includes first update "100+
Java Tips" as well. You do not need to read both of them just take latest one.
Special heartfelt thanks to Dr. Heinz M. Kabutz. His advanced Tips section
is excellent as always!
Now both e-Books contain more 605 pages of
A4 format pages. All my customers get already this update.
Please send me your comments!
It is not 1
I will not joke
with you as Dr. Heinz M.Kabutz (check his newsletter below) did last year. In
his newsletter he announced that all newsletter subscribers have to pay now to
be unsubscribed and theirs credit cards will be charged automatically!
anecdote by the way:
- "Have you
heard about the object-oriented way to become wealthy?"
Java wimps please
close your ears ... For the Java programmer who
thought he knew everything there was to know about Java, have a
look at the most advanced Java newsletter archived on the
what, it won't even cost you
today - you won't be disappointed.
Has anyone found a way to produce a MS Word file with Java?
yes and it is free! Java bean word processing. It is an interface to control
Microsoft® Word by java applications (includes German Version)
Would you like to load Microsoft® Word, to
create a new document and to serve bookmarks by your java application? There is
a free java class for you here!
I was looking at java.util.Timer class and there is no
possibility to cancel an individual task. I have to cancel whole Timer with all
my scheduled tasks... What is solution?
The solution is in your question you could develop a subclass of Timer that
stores a list of all scheduled TimerTask instances. Then retrieve the instance
that you want to cancel:
TimerTask  tasks =
tip based on SUN's forum
Question: ASP vs. JSP?
Answer: Comparing JSP with ASP
Although the features offered by JSP may
seem similar to that offered by Microsoft's Active Server Pages (ASP), they are
fundamentally different technologies, as shown by the following table:
||Most popular web
servers including Apache, Netscape, and Microsoft IIS can be easily enabled with
||Native support only
within Microsoft IIS or Personal Web Server. Support for select servers using
Runs on all Java-enabled platforms.
||Is fully supported
under Windows. Deployment on other platforms is cumbersome due to reliance on
the Win32-based component model.|
||Relies on reusable,
cross-platform components like JavaBeans, Enterprise JavaBeans, and custom tag
||Uses the Win32-based
COM component model.|
||Can use the Java
||Supports VBScript and
JScript for scripting.|
||Works with the Java
||Can work with the
Windows NT security architecture.|
||Uses JDBC for data
||Uses Active Data
Objects for data access.|
||JSP is extensible
with custom tag libraries.
||Cannot use custom tag
libraries and is not extensible.|
Tip based on SUN's
|keep the size of a line even if the screen settings are
Hi, i have a weird things to
do, and found nothing on google and others place...
For example, i draw a
line of 1 inch into my computer where my resolution is 96dpi and my screen area
i need to made modification to this line to have a 1 inch line
on every screen settings. example: my friend that are in 800x600 and have a dpi
of 128 opn my program to see the line... i want him to see a 1 inch line too
so i need to find a way to do that so when i have the screen size and the
screen resolution that i could have on the screen a 1 inch (example) line for
sorry for my english! can someone help me to find an
thx a lot bumpert
|Check for Internet Connection
In order to
create a WildTangent-Intranet-Site, i want to check if my Server is connected to
the WorldWideWeb or not via Java. The solution has to return only TRUE or FALSE!
It must not open a window, cause an error or anything else that avoids a
discrete check. It has to be just a stealth check.
|Swing and IE jvm
I'm writing an
applet in Swing, because it contains some nice controls (like JSpinner, JCombo,
etc.). The only problem is that this does not seem to be compatible with the
built-in JVM of Internet Explorer.
There is of course a way to get IE
download the "java plug-in", but this is not quite practical for me, as it
downloads the whole JRE and installs it on the machine.
Does anybody knwo of
a way to compile a Swing applet so that it is compatible with the built-in JVM
of IE (say as of IE5)?
Thanks for your help! Eric.
|Problems with EventQueue and Modal Dialogs
Hi, I have a problem as
What we did was to follow a Tech Tip, which can be found in
It automatically shows an hourglass cursor, when an event call does not
return within a specified time (delay). It worked ok at the beginning BUT;
The problem is, the code gets the system event queue like
and pushes another event queue instead of
this one. The new queue is an instance of a WaitEventQueue class, which is very
simple infact and does what I wrote above.
After this new queue is
|Multiple Selection Drag n Drop w/ JTree
Has anyone here
implementing Multiple Selection Drag and Drop with JTrees? I know that there was
a bug in JDK 1.3 that wouldn't allow it but I think that it would've been fixed
in 1.4. So far I've implemented Single-Selection DnD but I don't know how to get
Multiple Selection working.
I know that the tree has to be set in either
DISCONTIGUOUS_TREE_SELECTION or CONTIGUOUS_TREE_SELECTION, but I am unable to
drag the nodes. How can I change my Single selection DragSourceListener and
DropTargetListener so that it implements Multiple Selection?
|Changing file attributes
Does anybody know how to change
file attributes such as read and write in Java.
Please ask your questions and help each
other at our Java Forum:
The Java FAQ Daily Tips is a newsletter
that is only sent to those who have specifically subscribed
to it (double opt-in).
To subscribe/unsubscribe to "The Java FAQ
Daily Tips" weekly edition newsletter visit our page
If you have troubles please contact us: firstname.lastname@example.org
If you have added a link to http://javafaq.nu on your WEB-site, please let us
know and you will get listed on our
"pages linking to us" pages! If your
page is a programming is programming relates you will of
course get listed in the WEB-directory as well. Also, if you link to us, you
have a chance to be listed in this
newsletter as well.
More information and graphics artworks can
be found here
For information on advertising on the Java
FAQ's Daily Tips Newsletter, send an email to: email@example.com
You will get the answer
immediately from auto responder!
Send your comments, questions, praise and
complaints to us: firstname.lastname@example.org
Copyright (c) 2000 -
2003 John Andersson, All rights reserved.
7 comments | | Java Newsletters | Score: 0