Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / December 2004

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
newbie - java beans22 Dec 2004 11:01 GMT1
 I am trying to run my first simple bean and I am using the following
code
**** BeanTest.jsp ****
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
How to combine this code in on main class?22 Dec 2004 02:39 GMT4
Is it really nescessary to use two classes to write this code:
class OddEven
{
   public void printEven(int a)
JavaMail - Insert some html from a file21 Dec 2004 23:10 GMT1
I'm developing some code that uses the JavaMail API to send an email.
I'd like the body to contain HTML, specified in a file. I'm familiar
with the setContent() method that accepts a string, but how would I
achieve the same result with the contents of a file? I have to admit,
rounding21 Dec 2004 22:28 GMT4
I am attempting to round a number (float) to 2 decimal digits in java. How
is this possible?
Thanks,
--
where is flush() implemented?21 Dec 2004 21:22 GMT4
help me understand this. Image is and abstract class that define's a method
called flush(). But where is flush() implemented?
Image img = Toolkit.getDefaultToolkit().getImage("pic.jpg");
img.flush();
Confused about simple package concepts21 Dec 2004 19:27 GMT5
I'm new to Java.  I'm not finding the language difficult, but I'm not getting
the package scheme.
1)
file Jeff1.java:
JSP code21 Dec 2004 13:21 GMT2
 I have the following code
<html>
    <head>
        <title>
round21 Dec 2004 13:05 GMT2
I have double and i want to round and then disply it to 3 positions ater
comma for example: 4.123456 -> 4.123.
I only found java.lang.Math.round but i can not specify to 'which'
position should i round my double...
Code don't terminate21 Dec 2004 12:28 GMT5
The following code checks if the 10th char in a string equals R and if the
chars from position 4 through 7 is a number larger than 2000. If that is the
case the string is an invalid productcode.
But when I run the code with eg. "TRV2475R-14" it does not terminate! And I
getGraphics() not valid21 Dec 2004 08:12 GMT1
 On windows XP, I have a servlet in which ToolkitImage calls
getGraphics().
 The error below always occurs:
 java.lang.UnsupportedOperationException: getGraphics() not valid for
Java Applet Parameter Limit21 Dec 2004 00:47 GMT5
I would like to know the maximum number of parameters that can be passed
to an applet. While I think there is no theoretical maximum, I believe
there to be a practical limitation for browsers.
I am using winXP, IE6 and firefox1, and jre1.4.2.
Regular Expressions20 Dec 2004 23:44 GMT5
I have been really struggling with regular expressions, can anyone tell
me how I would split up a string around the spaces and newlines.
Basically I want every word to be put into a string array but not the
spaces (which is what I am getting now).
number fraction digits20 Dec 2004 18:13 GMT1
i have this script
   public static void main(String[] args) {
       double[] lijst = {1.3444,4.6444};
       printDoublearray(lijst);
Having Trouble Understanding Hashtable Class20 Dec 2004 12:18 GMT5
The following program is suppossed to compare two lists for
spelling errrors. One list is the list spelling used to compare
to the master list. This list has some words spelled correctly
and some incorrectly and in the program that followis is denoted
J2ME BLUETOOTH TELEPHONE20 Dec 2004 12:13 GMT3
hi to everyone I would like to realize a voice connection trought two mobile
phones that have the j2me and bluetooth....
I don't want the code and not the algoritm, I would like only some advices
where find documentation about this subject....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.