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 / February 2005

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
java.Lang.Integer <-> int23 Feb 2005 15:17 GMT2
What is the difference between "java.Lang.Integer" and "int" and how to
conwert from one to another.
Duzy.
thread/interrupt question23 Feb 2005 13:36 GMT1
Ok, I am writing an applet and I spawn a thread when a certain menu item is
selected in order to do some computation without tieing up the UI. It looks
something like this:
public void actionPerformed(ActionEvent evt) {
How does a thread call a synchronized method??23 Feb 2005 10:51 GMT17
If a thread needs to call the methods notify() and wait() it has to own the
lock. The only way it can own the lock is by invoking a synchronized method.
But typically the synchronized methods lies in another class and not in the
threads themselves. My question is then:
Newbie Date SimpleDateFormat HELL23 Feb 2005 09:34 GMT5
I'm trying to create an ANSI date string to use at the end of a file
name.  "20050222" for today, for example.
This is trivial in C, and it's probably trivial in Java too but I'm
getting bogged down into Date, SimpleDateFormat, FieldPosition hell.
Locking the PC (Screen) with Java???23 Feb 2005 08:39 GMT2
does anybody know here if it is possible to lock the system with java? i
would like to lock the screen respectively the complete system with my java
(1.4) application, so that the user can't do anything until he entered the
correct password. Even Ctrl+Alt+Del should not be ...
Question on Syntax differences between application and applet23 Feb 2005 08:35 GMT7
I'm trying to teach myself Java from an Intro textbook. The book gives an
example of creating a simple application, and then converting it to an
applet.
It displays a line of output in the application like this:
What to remove?23 Feb 2005 06:06 GMT2
I had installed Java earlier on my computer for an intro class that I had taken.
But now the only reason I want Java on my pc is for internet browser stuff like
websites that use it to display their poll results and other graphics like that.
So I wanted to know, can I safely delete ...
add item to the array of string dynamically23 Feb 2005 04:32 GMT3
I want to ask if we can add item to the array of strings dynamically?
String[] s = {"Joe","John","May"};
If I want to add another name called "Tim", how to do that?
non-static variable in a static context23 Feb 2005 00:25 GMT5
I'm trying to compile a program which compares different types of sorts. I
have different classes containing each sort. when I try to create the
objects to do the sorting in the main method, it gives me an error that
says "non-static variable this cannot be referenced from a static
Get Image from Applet Window......Newbie Too22 Feb 2005 20:49 GMT3
Hey, I have a question for all the Java gurus.
I have written an applet like the scribble applet that is floating around
the Net.  I need to be able to grab the contents that the user has scribbled
or drawn in the applet as an image so that I can do a base64 encoding to it
@SuppressWarnings("unchecked") 22 Feb 2005 19:22 GMT1
I can't seem to get the @SuppressWarnings("unchecked") to work.
Here is my test program.
public class Tryit {
   @SuppressWarnings({"unchecked"})
continuation22 Feb 2005 18:56 GMT4
i'm helpless in this area. I really tried and I'm still stuck for the
1000th time. The textbook, class exercises and notes do not seem to
help at all...can anyone help me spot my mistake please?
import javax.swing.JOptionPane;
Java Applet talks to DHTML?22 Feb 2005 16:20 GMT2
Is there any way to use Java Applet to communicate with DHTML?  say I click
a button on my Java Applet, it renders some text on the DHTML on the same
HTML page.. is it possible?
C.P.
J2ME questions?22 Feb 2005 12:32 GMT1
I have some questions regarding some probs I am having with a J2ME project
and processing Hindi text.
Is this thie right newsgroup or is there a J2ME specific one? I did a search
on my news server with no luck.
Replacing apostrophes for an sql statements22 Feb 2005 10:50 GMT3
When doing SQL statements apostrophes mark the start and end of a text
field, accordingly any apostrophe in the text must be handled.
So here's a code snippet showing how I handle this:
int isApostrophe = title.indexOf("'");
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 January, 2005
 
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.