This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

naga raaju

Greenhorn
+ Follow
since Mar 14, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by naga raaju

hi guys

i am new to applet coding. i want to develop one webapplication with applet .like this http://www.wdsoftware.com/realtime-charts.php

so please guide me to how to develop these compenent in applet.


have a nice day

bye
Naga
8 years ago
sorry not working that code
10 years ago
hi
i gave the date format like this

2008-05-02 i need the day of week means 2may day is "friday" so its order is 6

how to get like this in java.

i use calender.get(Calendar.DAY_OF_WEEK); but not working.

any ide

bye
naga
10 years ago
thanks for your help

bye
Naga
10 years ago
double [] data={34,32,45,65,76,54,77,55,767,76,4,566,66};

for(int i=data.length-1;i>=0;i--)
{
if(data[i]>data[i-1])
{
System.out.println("::"+data[i]);

}

}
why i am getting array index out of bound exception
10 years ago
double [] data={34,32,45,65,76,54,77,55,767,76,4,566,66};

for(int i=data.length-1;i>=0;i--)
{
if(data[i]>data[i+1])
{
System.out.println("::"+data[i]);

}

}
10 years ago
hi
i have an array like this
double[]={34,32,45,65,76,54,77,55,767,76,4,566,66};

i want to comapre the array elements with previous elemnts.

like 66 with 566 and 566 with 4 like this

i need code in java.

please send the code or guide me

thanks and regards
naga
10 years ago
hi
thanks for your reply,
i need some text from the web pages.so what sholud i do.


can i depend on third party API. or that is possible with java coding.


bye
Naga
10 years ago
hi guys can anybody give idea to parse html webpage live url parsing

using java.


i have code but the out put is in the form of html tags
so how can i split the tags so give idea friends

import java.net.*;
import java.io.*;

public class URLReader {
public static void main(String[] ar) throws Exception {

URL yahoo = new URL("http://finance.yahoo.com");
BufferedReader in = new BufferedReader(new InputStreamReader(yahoo.openStream()));
BufferedWriter wr=new BufferedWriter(new FileWriter("sample.txt"));

String inputLine;
while ((inputLine = in.readLine()) != null)
// System.out.println(inputLine);
try
{
wr.write(inputLine);
}catch(Exception e)
{
e.printStackTrace();
}
in.close();
}
}
bye
Naga
10 years ago
thanks for your cooperation.

what my problem is is there any possible
to declare a double array upto two decimal points .


thanks
naga
10 years ago
hi thanks for reply
what my question is when i assigned to array that array will take only two decimals.but that array should double.

any idea in java
10 years ago
hi guys

i have an array
double[] value={23,332,44,22,22};

i print this the out put is like

23.0 332.0 44.0 22.0 22.0

what my question is
double[] value={23.22211,332.22323,44.23323,22.32232,22.3232};

is there any possible to take only two digits after point like this ==> 23.22 ,332.22,44.23,22,32,22.32 when declare the value array.

can anybody give idea.

by
Naga
10 years ago
can you give example

by
naga
10 years ago
hi

a[]={4,5,6,7,8,9};

i wanna print

for(int j=0;j<a.length;j++)
{
System.out.println("::"+a[j]);
}

output :4,5,6,7,8,9

my requirement is

how to print 4,5,6,7,8,9 index using for loop.

thanks
Naga
10 years ago
can you give small example .


thanks
Naga
10 years ago