===
[ The Java FAQ Daily Tips, weekly publication ]
===
| Issue
No: 151
4 March 2003 |
| 11823 subscriber
|
Foreword: Excuse me for
possible mistakes. English is not native language for me.
In this issue:
Hello dear
friends!
Have you entered yet?
JavaFAQ.nu is proud to announce that we are a sponsor of the March
6 Amber Taylor IT Give-Away promotion. We do not do this very often but thought
you would be interested in the products and services for IT Professionals being
awarded. There is something for everyone! What is the cost? Not a thing! Enter
here. You could win a free 500 Java Tips eBook.
Question:
Is there a Java class or component or something like to browse the web inside
java Application?
Answer: I
know two and they are not free... If you know free component please send me info
and I will publish it here. HotJava browser from SUN is no longer supported
and end date is April 2003.
1. Clue Web
Browser Components: Clue Web Browser is the only browser solution
designed to realize this new web browser concept. With its modular and scalable
architecture, Clue Web Browser can be integrated with any application and run on
a wide range of devices, such as PDAs and set-top boxes. Through our relentless
pursuit of perfection, Clue Web Browser exhibits a solid implementation of the
latest web technologies with excellent performance. It offers rich functionality
and flexibility for a wide variety of web-related applications. To meet the
specific requirements of different devices, we offer various editions for
desktop and embedded devices.
2. WebWindow 2.0 is a scalable Java
browser component. With the WebWindow you can take advantage of Java's
"write once, run anywhere" design and run your application on multiple operating
systems and device platforms with a wide range of resource limitations. With a
small core footprint, WebWindow can be used on devices ranging from PDAs, settop
boxes, enterprise servers, and native web browsers all with little or no code
changes to the core browser technology.
By using the WebWindow in your application,
you can avoid compatibility issues between different browsers and you can have a
truly "100% Java" product. WebWindow can be utilitized in a number of ways in an
application ranging from a simple help file displayer to a full fledge UI
framework for building dynamic GUIs.
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
website http://www.smotricz.com/kabutz Guess
what, it won't even cost you anything! Subscribe today - you won't be
disappointed.
Question:
I have a piece of code (thread) which runs every x seconds and causes high CPU
load. How could I decrease it?
Answer:
You can use static method yield() in the Thread. This method causes the
currently executing thread object to temporarily pause and allow other threads
(in OS and other programs) to execute.
Question:
My program wants the capability to place the file physically on to the client
machine. Can I use FTP? How? Do I need to read protocol description and
implement it from scratch?
Answer:
You can use open source NetComponents package. NetComponents TM provides easy
access to FTP, NNTP, SMTP, POP3, Telnet, TFTP, Finger, Whois, and other
frequently used Internet protocols. Version 1.3 features newly added BSD R
command support.
NetComponents TM provides one-stop shopping
for all your IETF protocol Java programming needs. Access FTP servers from your
Java applications, send email from your Java applets, or automate access to
Telnet accessible resources. You can do it all with NetComponents! You will
find it here: http://www.savarese.org/oro/software/NetComponents.html Please
feel free to examine the online API documentation and to download the latest
version.
FREE Your PC From Corrupt
Files Now! Have the peace of mind knowing your computer is automatically
kept error-free, 24 hours a day! Safe. Simple. Secure. Silent. This proven,
automated, and easy-to-use PC health check tool is guaranteed to
instantly expose harmful files lurking on your computer.
Get your
FREE PC Health Check today at: http://mocda4.com/1/c/52983/80159/248520/248520
Latest posts on our
message board |
gzip file Hi!
I need help again, how no! I'm writing an
application which generate SVG files. I want to compress this files to use the
.svgz extension. I know that it possible use gzip to compress the file, but I
wonder if I can use some Java class to do it.
I have tried this
code...
Please Help!!!! I have to design a
simple prototype interface that performs a simple control function. The function
is to control a robot which moves up, down,
left and right. It only has to be a simple interface which operates from
the command window but it needs functionality as people have to test it work.
Can you offer me any suggestions on coding for this as I'm
really stuck, thank you. Please
answer here
Save an image-object
as image on the web server.. For a little kids-homepage
I have written an applet, within you can "paint" with the mouse. But now I want
to store the image on the server. There is a cgi-script I can call to upload a
file (i.e. http://domain.com/cgi-bin/store.cgi?file=image.jpg). How can I do
this from the applet? The problem is that I haven't a file "image.jpg" that I
could send. In the applet there is only an Image-object. Is it possible to save
the file via the cgi-script? Can
anybody point me in the right direction?
Problem while trying to make an executable
with Jexegen Hi,
If have downloaded MS SDK for Java 4.0 and
I wanted to make an executable. After reading some documents about Jexegen I
have to typed this:
jexegen /main:Studieresultaten /out:Sresult.exe /w
/v *.class
Looking at the details I can see that all the classes has
been added. But I always get the following error:
Warning: Main class
specified but main class file was not found.
Weird, because
Studieresultaten.class has been added!!!!
I have searched on Google for
this error, but I can only find either a post that has not been replied or a
Chinese post. Can
anyone help me???
Importing .swf Flash file into Java
Application AS far as I understood there is a Java package that is for
supporting Java and flash collaboration )) For example how can I import
flash file into Java application(standalone) or sending information from Java to
Flash and opposite. Please
tell what the package is and where can I download it
from.
movable disks Hi,
I would like
to make a JFileChooser that finds the directory to the movable disk. How shall I
do?
JFileChooser chooser = new JFileChooser( new File(xxxxxxxxxx) );
Please
answer here...
Please ask your questions and help each
other at our Java Forum: http://javafaq.nu/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
here: http://www.javafaq.nu/plm2html/my_subscription.shtml
If you have troubles please contact us: subscription@javafaq.nu
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 http://javafaq.nu/other/linktous.shtml
For information on advertising on the Java
FAQ's Daily Tips Newsletter, send an email to: adv@javafaq.nu You will get the answer
immediately from autoresponder!
Send your comments, questions, praise and
complaints to us: comments@javafaq.nu
Copyright (c) 2000 -
2003 John Andersson, All rights reserved.
30 comments | | News | Score: 0
|