JavaFAQ Home » Java Newsletters
[ The Java FAQ Daily Tips, weekly publication ]
27 March 2003|
"...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! Important info, please read.
inform you about changes that will be introduced in May. During past two years I
tried different ways to cover the cost of my site and newsletter running. Last
year my site traffic more than tripled. Since August I moved to Virtual Server
hosting which costs much more for me and my family. I publish newsletter as a
private person and have no sponsors. Total price for hosting and software that I
use exceeds now $1000/year. This everything I need to
publish my newsletter.
Unfortunately advertisements cover only 10%.
beginning of May you will have two options:
newsletter with three tips per week plus numerous and I agree, annoying some
time advertisements. Tips here will be published with 2 months delay comparing
to featured newsletter.
newsletter with 5 tips per week with no advertisements and if more than 100
people will ask about it - text version as well. All subscribers of this kind of
newsletter will have access to member's area on the site where they can browse
archive (all latest) of newsletters. I will also put useful Java related
software to member's area. All tips from this area will come to public with two
Plus to this all members will get as an introduction gift my
e-Book "500 Java Tips!" with latest update "200+ Java Tips". Altogether 700
The price for membership will be reasonably low -
around $9 - 10/year. I will publish rules online (when they are ready) next
week. Today I have only draft version...
Question: Why do I need JSP technology if I already
Answer: JSP pages are compiled into servlets, so
theoretically you could write
servlets to support your web-based applications. However, JSP technology was
designed to simplify the process of creating pages by separating web
presentation from web content. In many applications, the response sent to the
client is a combination of template data and dynamically-generated data. In this
situation, it is much easier to work with JSP pages than to do everything with
is based on SUN's FAQ's
On Solaris, Java Advanced Imaging complains about lack of access to an X
Java Advanced Imaging versions previous to JAI 1.1.1 used the AWT toolkit to
load GIF and JPEG files. This problem is a manifestation of a JDK bug in which
creation of the AWT Toolkit class results in an attempt to open the X display.
To work around this problem in Java Advanced Imaging versions prior to 1.1.1,
either make an X display available to the Java runtime using the DISPLAY
environment variable (no windows will appear on the display), or consider
running a dummy X server that will satisfy the AWT, such as the Xvfb utility
included with the X11R6.4 distribution.
In the JAI 1.1.1 version, the GIF and JPEG
decoders were improved to no longer have a dependency on the X server.
this tip is based on SUN's FAQ's
Latest posts on our
|Problems with JTables
I' m trying
to put a String Array inside a JTable with 4 columns but i can't find the way.
I searched TableModels and etc but i didn' t find anything usefull, only simple
Guys please give some help here, i need it!!!
I am using J2EE 1.3.1,
I have created a simple jsp and deployed using
but when i
access jsp page from browser , I am getting following error
J2EE SDK/1.3.1 -
HTTP Status 500 - Internal Server Error
what exactly is the problem?
|how to write into a file?!
could anyone show me how to
write into a file via a socket using client-server program ! ? ?
|banking system-please help!
I've got an
assignment to hand in a week time, i was just wondering if anyone is willing to
help me out with it.
the problem iam facing at the moment is to take the
input from a text field and insert it into a file.
the whole program is
about a banking system which the user is able to Credit, Debit and check the
balance of his or her account. the following is the specification of the
i am trying to update
this program in order to write an applet to play the "Cat and mouse" game. In
this game, the user is a "mouse" who has to find their way safely to a mousehole
drawn in the middle of the top of the applet pane. Several cats appear at random
positions in the pane and will try to catch the mouse by chasing after it. You
lose the game if the cat gets too close to your mouse. You win if you get to the
hole before they get near you.
is mainpart of the program
|360 degrees panoramic
where can i find free
source code about a Java 360 panoramic image viewer applet?
sorry, for my
|Problems Veiwing JTables
Greetings to all
I am new
and I hope that I will be lots of help to you
Email me anytime
I have a
small JTable problem and I hope you some one here can kindly help me with it.
I have created a JTable using a TableModel. The table has about 1000 rows
and 30 columns. Now initially all columns are visible in the tables viewport
area and the data is all squished. So I set the table's prefferedsize to be
larger than the jscrollPane's visible area. So the data is nicely spaced out but
when I scroll to view the rest of the data it is not visible
How can I
display the rest of the table when I scroll to those regions.
I have a little
problem where on a panel, i am trying to flip an image.. but it seems to flip
all images on the screen. I can't seem to get it working.. anybody able to spot
It loops thru all images, and only if 'rotated' it should
rotate image, draw them all to buffered image and draw it to screen
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.
Printer Friendly Page
Send to a Friend
Search here again if you need more info!