Click here to Skip to main content
12,819,619 members (37,860 online)
   

Java

 
GeneralRe: JCOMBOBOX Pin
Chrisloys4-Dec-12 7:47
memberChrisloys4-Dec-12 7:47 
GeneralRe: JCOMBOBOX Pin
Richard MacCutchan4-Dec-12 8:24
mvpRichard MacCutchan4-Dec-12 8:24 
Questionneed help Pin
dipfol29-Nov-12 18:56
memberdipfol29-Nov-12 18:56 
AnswerRe: need help Pin
AprNgp29-Nov-12 21:08
memberAprNgp29-Nov-12 21:08 
AnswerRe: need help Pin
Richard MacCutchan29-Nov-12 22:51
mvpRichard MacCutchan29-Nov-12 22:51 
Questionextract battery percentage Pin
akki23099127-Nov-12 21:55
memberakki23099127-Nov-12 21:55 
AnswerRe: extract battery percentage Pin
Richard MacCutchan28-Nov-12 0:59
mvpRichard MacCutchan28-Nov-12 0:59 
Questioni have a problem around System.console, am using eclipse Pin
Member 963455227-Nov-12 1:31
memberMember 963455227-Nov-12 1:31 
import java.io.Console;
import java.util.regex.Pattern;
import java.util.regex.Matcher;

public class RegexTestHarness {

public static void main(String[] args){
Console console = System.console();
if (console == null) {
System.err.println("No console.");
System.exit(1);
}
while (true) {

Pattern pattern =
Pattern.compile(console.readLine("%nEnter your regex: "));

Matcher matcher =
pattern.matcher(console.readLine("Enter input string to search: "));

boolean found = false;
while (matcher.find()) {
console.format("I found the text" +
" \"%s\" starting at " +
"index %d and ending at index %d.%n",
matcher.group(),
matcher.start(),
matcher.end());
found = true;
}
if(!found){
console.format("No match found.%n");
}
}
}
}
AnswerRe: i have a problem around System.console, am using eclipse Pin
TorstenH.27-Nov-12 2:44
memberTorstenH.27-Nov-12 2:44 
GeneralRe: i have a problem around System.console, am using eclipse Pin
Member 963455228-Nov-12 3:00
memberMember 963455228-Nov-12 3:00 
GeneralRe: i have a problem around System.console, am using eclipse Pin
TorstenH.28-Nov-12 9:36
memberTorstenH.28-Nov-12 9:36 
GeneralRe: i have a problem around System.console, am using eclipse Pin
Member 963455229-Nov-12 0:43
memberMember 963455229-Nov-12 0:43 
GeneralRe: patient cancer registration form Pin
Member 963455215-Jan-13 3:44
memberMember 963455215-Jan-13 3:44 
GeneralRe: patient cancer registration form Pin
TorstenH.15-Jan-13 4:33
memberTorstenH.15-Jan-13 4:33 
QuestionMobile in java using netbeans Pin
rcjr2421-Nov-12 14:36
memberrcjr2421-Nov-12 14:36 
SuggestionRe: Mobile in java using netbeans Pin
Richard MacCutchan21-Nov-12 23:05
mvpRichard MacCutchan21-Nov-12 23:05 
Questionhi i need help about RIM,client server,file sharing Pin
shado-ite21-Nov-12 9:47
membershado-ite21-Nov-12 9:47 
AnswerRe: hi i need help about RIM,client server,file sharing Pin
Richard MacCutchan21-Nov-12 9:58
mvpRichard MacCutchan21-Nov-12 9:58 
QuestionMail server in java Pin
Member 954244521-Nov-12 3:23
memberMember 954244521-Nov-12 3:23 
AnswerRe: Mail server in java Pin
Richard MacCutchan21-Nov-12 4:14
mvpRichard MacCutchan21-Nov-12 4:14 
AnswerRe: Mail server in java Pin
TorstenH.24-Nov-12 6:38
memberTorstenH.24-Nov-12 6:38 
QuestionUsing MuPDF library in java Pin
Member 960666216-Nov-12 23:40
memberMember 960666216-Nov-12 23:40 
AnswerRe: Using MuPDF library in java Pin
Richard MacCutchan17-Nov-12 22:58
mvpRichard MacCutchan17-Nov-12 22:58 
AnswerRe: Using MuPDF library in java Pin
yangxiaoyan18-Nov-12 17:58
memberyangxiaoyan18-Nov-12 17:58 
Questionuse snmp check equiment type Pin
XMafei13-Nov-12 23:05
memberXMafei13-Nov-12 23:05 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 20 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid