Click here to Skip to main content
15,888,984 members
Home / Discussions / Java
   

Java

 
QuestionCreating a UI using java Pin
S.Barath24-Oct-14 17:47
S.Barath24-Oct-14 17:47 
AnswerRe: Creating a UI using java Pin
Richard MacCutchan24-Oct-14 22:34
mveRichard MacCutchan24-Oct-14 22:34 
QuestionLooking for good Java online courses Pin
DerrellGore24-Oct-14 9:36
DerrellGore24-Oct-14 9:36 
QuestionMaster Content Pin
Alok Prajapati23-Oct-14 4:48
Alok Prajapati23-Oct-14 4:48 
AnswerRe: Master Content Pin
Richard MacCutchan23-Oct-14 5:27
mveRichard MacCutchan23-Oct-14 5:27 
QuestionDisplaying all perfect numbers from below 10 000 Pin
Member 1116487619-Oct-14 7:12
Member 1116487619-Oct-14 7:12 
AnswerRe: Displaying all perfect numbers from below 10 000 Pin
Richard MacCutchan19-Oct-14 21:59
mveRichard MacCutchan19-Oct-14 21:59 
AnswerRe: Displaying all perfect numbers from below 10 000 Pin
Alok Prajapati23-Oct-14 5:05
Alok Prajapati23-Oct-14 5:05 
Run this Code


package p1;

import java.io.IOException;

public class perfect
{
public static void main(String[] args) throws IOException
{

int stnumber = 1;
int ennumber = 10000;
System.out.println("Perfect Numbers between "+stnumber+ " and "+ennumber);
for (int i = stnumber; i <= ennumber; i++)
{
int number = i;
int sqrt = (int) Math.sqrt(number);
if (sqrt * sqrt == number)
{
System.out.println(number+ " = "+sqrt+"*"+sqrt);
}
}
}
}
QuestionIs it possible to scroll JFrame if so den how? Pin
mybm117-Oct-14 21:08
mybm117-Oct-14 21:08 
AnswerRe: Is it possible to scroll JFrame if so den how? Pin
Richard MacCutchan17-Oct-14 21:15
mveRichard MacCutchan17-Oct-14 21:15 
QuestionRegarding .classpath Pin
Member 1115702915-Oct-14 18:54
Member 1115702915-Oct-14 18:54 
QuestionRe: Regarding .classpath Pin
Richard MacCutchan15-Oct-14 22:02
mveRichard MacCutchan15-Oct-14 22:02 
Questionuse of valueof(-1) Pin
bh@r@t14-Oct-14 0:03
bh@r@t14-Oct-14 0:03 
AnswerRe: use of valueof(-1) Pin
Richard MacCutchan14-Oct-14 0:07
mveRichard MacCutchan14-Oct-14 0:07 
Questionwhat the use of valueof(-1) Pin
bh@r@t13-Oct-14 23:43
bh@r@t13-Oct-14 23:43 
QuestionHow to set color for text in java. Pin
mybm112-Oct-14 20:36
mybm112-Oct-14 20:36 
QuestionRe: How to set color for text in java. Pin
Richard MacCutchan12-Oct-14 21:19
mveRichard MacCutchan12-Oct-14 21:19 
AnswerRe: How to set color for text in java. Pin
mybm112-Oct-14 22:55
mybm112-Oct-14 22:55 
GeneralRe: How to set color for text in java. Pin
Richard MacCutchan13-Oct-14 5:00
mveRichard MacCutchan13-Oct-14 5:00 
QuestionExtracting text from docx using java Pin
Member 1114435710-Oct-14 8:58
Member 1114435710-Oct-14 8:58 
AnswerRe: Extracting text from docx using java Pin
Richard MacCutchan10-Oct-14 21:25
mveRichard MacCutchan10-Oct-14 21:25 
Questionhow to display panel just below input panel.? Pin
mybm17-Oct-14 0:41
mybm17-Oct-14 0:41 
AnswerRe: how to display panel just below input panel.? Pin
tony_ming7-Oct-14 2:36
tony_ming7-Oct-14 2:36 
GeneralRe: how to display panel just below input panel.? Pin
Member 109447528-Nov-14 18:25
Member 109447528-Nov-14 18:25 
QuestionRe: how to display panel just below input panel.? Pin
Richard MacCutchan7-Oct-14 2:50
mveRichard MacCutchan7-Oct-14 2:50 

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.