Click here to Skip to main content
15,913,610 members
Home / Discussions / Java
   

Java

 
QuestionRedirecting the mysql bin log to the text file in java. Pin
don Moen1-Jul-09 23:16
don Moen1-Jul-09 23:16 
AnswerRe: Redirecting the mysql bin log to the text file in java. Pin
Pavan_Putra2-Jul-09 2:51
Pavan_Putra2-Jul-09 2:51 
GeneralRe: Redirecting the mysql bin log to the text file in java. Pin
don Moen2-Jul-09 4:12
don Moen2-Jul-09 4:12 
AnswerRe: Redirecting the mysql bin log to the text file in java. Pin
Scott Sauyet24-Jul-09 8:42
Scott Sauyet24-Jul-09 8:42 
QuestionHow to make JDesktop SystemTray display for all users (remotely logged on users included) Pin
Phoenix1011-Jul-09 21:07
Phoenix1011-Jul-09 21:07 
QuestionJava installed base? Pin
Diego Moita1-Jul-09 19:12
Diego Moita1-Jul-09 19:12 
AnswerRe: Java installed base? Pin
Nagy Vilmos1-Jul-09 21:53
professionalNagy Vilmos1-Jul-09 21:53 
QuestionNeed help with javascript onkeypress event Pin
lmhawkins1-Jul-09 13:14
lmhawkins1-Jul-09 13:14 
Hello,

I have a textbox that hold a social security number.   I'm using javascript and the onkeypress event to auto format the text as the user types, i.e. they type 123 and then a dash   is automatically inserted as the 4th character.   The problem is that there is a one character lag so that the user doesn't know the dash has been appended until they enter their next character.   What I'd like to know is if there is a way to refresh the textbox immediately after the dash is entered so that the user sees it on screen before they type again.   The working code snippet is below.

Thank you in advance.


s1 = new String(Form1.f4.value)
if(s1.length == 3 || s1.length == 6)
{
     s1 += "-";
     Form1.f4.value = s1
}
AnswerRe: Need help with javascript onkeypress event Pin
fly9041-Jul-09 13:46
fly9041-Jul-09 13:46 
GeneralRe: Need help with javascript onkeypress event Pin
luchi20092-Jul-09 22:37
luchi20092-Jul-09 22:37 
Questionproblem loading JFrame after build Pin
dave_mm030-Jun-09 3:34
dave_mm030-Jun-09 3:34 
AnswerRe: problem loading JFrame after build Pin
dave_mm030-Jun-09 4:25
dave_mm030-Jun-09 4:25 
GeneralRe: problem loading JFrame after build Pin
David Skelly30-Jun-09 5:59
David Skelly30-Jun-09 5:59 
GeneralRe: problem loading JFrame after build Pin
dave_mm030-Jun-09 7:16
dave_mm030-Jun-09 7:16 
QuestionFile transfer using UDP protocol Pin
nvnq27-Jun-09 0:40
nvnq27-Jun-09 0:40 
AnswerRe: File transfer using UDP protocol Pin
Rozis27-Jun-09 1:34
Rozis27-Jun-09 1:34 
GeneralRe: File transfer using UDP protocol Pin
nvnq27-Jun-09 1:57
nvnq27-Jun-09 1:57 
AnswerRe: File transfer using UDP protocol Pin
David Skelly28-Jun-09 22:17
David Skelly28-Jun-09 22:17 
QuestionNeed help using code to open delay(?) window Pin
wmtoo26-Jun-09 16:27
wmtoo26-Jun-09 16:27 
AnswerRe: Need help using code to open delay(?) window Pin
fly90427-Jun-09 3:49
fly90427-Jun-09 3:49 
QuestionJava Free Source Codes Pin
sreekanth55525-Jun-09 20:34
sreekanth55525-Jun-09 20:34 
Rant** Advert ** Pin
Nagy Vilmos25-Jun-09 22:54
professionalNagy Vilmos25-Jun-09 22:54 
Question[Message Deleted] Pin
fahimehsaleh25-Jun-09 11:41
fahimehsaleh25-Jun-09 11:41 
AnswerRe: serializable hashtable Pin
Garth J Lancaster25-Jun-09 12:48
professionalGarth J Lancaster25-Jun-09 12:48 
GeneralRe: serializable hashtable Pin
fahimehsaleh25-Jun-09 22:18
fahimehsaleh25-Jun-09 22:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.