32,199 Topics

Member Avatar for
Member Avatar for ttamilvanan81

Hai everyone, I need to find the Latitude and Longitude values for any one of the Particular location from the Google Maps, using pure java class. I know, it's done by using javascript, but i need to use pure java class not javascript. If we provide full address of the …

Member Avatar for peter_budo
0
96
Member Avatar for omi.jain
Member Avatar for jamminjelly

Says grade isn't initializing import java.util.*; public class Test { static Scanner console = new Scanner(System.in); public static void main(String[] args) { char grade; switch (56 / 10) { case 0: case 1: case 2: case 3: case 4: case 5: grade = 'F'; break; case 6: grade = 'D'; …

Member Avatar for jamminjelly
0
92
Member Avatar for cat8882

Okay so I'm supposed to read in grades from a file add them together and get the average the letter grade the minimum grade and the maximum...no setting variables to the read in...and the sentinel is -1 at the end of the sequence...I'm a bet messed up...this is what i …

Member Avatar for Ezzaral
0
102
Member Avatar for MariaA

Hi everyone, I am new to java. I have a question? How can I store in to an array the values that the user enter, so later I can compare the two sets of array that the user enter. This is what I have: System.out.print("This program is going to find …

Member Avatar for ithelp
0
79
Member Avatar for ceyesuma

How can I .getText(long) ????? I can not figure out how to get a string from a GUI and turn a String into a long .

Member Avatar for ceyesuma
0
108
Member Avatar for himanjim

[B]I'm new to java servlets ...I installed Sun java SDK which acts as an server for running servlets.I spents many hours first just to compile servlets and generate the class files but now I don't have any idea how to run servlets on SDK. I tried a lot on Apache …

Member Avatar for himanjim
0
101
Member Avatar for preetham.saroja

hai, Its very urgent.can somebody tell m,how to add two textboxes and then display the result in the third textbox ,using keypress -in javascript.... regards....

Member Avatar for preetham.saroja
0
166
Member Avatar for Rashul

/*This is a what I've written so far- see below.*/ /*The program is to ask a user to insert values into array, print those values showing both index # and corresponding value, return average, min, change value of 1 array element, delete 1 element, compact the array. ALL these MUST …

Member Avatar for Ezzaral
0
2K
Member Avatar for mariejt

Hello Everyone, I feel like I'm going around in circles! I can't figure out why by JButtons won't perform their assigned functionality. I have a first, previous, next, last, and save button. I've created actionListeners and actionEvents for all butons, but they still produce nothing. Any insight is extremely appreciated!!!! …

Member Avatar for mariejt
0
115
Member Avatar for push

hellow friends, how can i get server port number by using java. please give me exampls codes for this program.

Member Avatar for jwenting
0
51
Member Avatar for iCez

Here it goes, we were told to make a Multiplication thingy that the user can [B]Input[/B] something like [I]5x5[/I] and then the [B]output[/B] will be the [I]answer[/I]. We were not taught on how to do it yet so I don't have any idea. I'm just hoping that someone can teach …

Member Avatar for Ezzaral
0
97
Member Avatar for w32.sysfile

i face a problem here.. i am creating a compiler for java, the compilation part is done,and now i have a problem in the running the class compiled.. i use the runtime.getruntime().exec() method to run the class.. and what happen is, for example, i have a simple java file like …

Member Avatar for lookof2day
0
153
Member Avatar for piers

okay I have been working on a little project of my own for a while. At the moment it prints out the chapters read and once 100% of the chapters read is greater than 100 it shows on the next line of my code the number of times the book …

Member Avatar for Ezzaral
0
92
Member Avatar for parthiban

Hi all, I learned that "local static variable" with in a function is not allowed in JAVA as in C++. I guess it violates the rule of "static" as it's should not depend on objects but is there any alternative way avaiable to accomplish that ? (i.e scope is restricted …

Member Avatar for parthiban
0
365
Member Avatar for DeadJustice

I didn't think I'd need help again, but I'm pretty sure its not as bad as last time. I'm trying to increment the time in Time2.class, and that compiled. The problem is I can't make a class to use it as per the assignment, and that's because I used void …

Member Avatar for DeadJustice
0
2K
Member Avatar for ceyesuma
Member Avatar for hidash_in

[COLOR="blue[B]"]hi all, i need a help in jsp. i want to open a word file in an application using jsp. and it should not in browsers. just the word application only should open. if u have any coding for this means pls send it. very urgent .hurry up! pls.. [/COLOR][/B]

Member Avatar for jwenting
0
132
Member Avatar for balagangadharm

hi canyone help in how to write code to search in java.just like search button in google.

Member Avatar for jwenting
0
89
Member Avatar for degamer106

I'm trying to get this ISBN checker to work. I've used the formula from this [URL="http://mathworld.wolfram.com/ISBN.html"]site[/URL] and also this [URL="http://en.wikipedia.org/wiki/International_Standard_Book_Number"]site[/URL] and it seems to work fine [B]except[/B] for the ISBN of my Java book. When I compute my book's ISBN (0131496980), it is apparently invalid. I have tried the other …

Member Avatar for jwenting
0
184
Member Avatar for kedarkhedkar

I have a query about ISBN. Some books have one ISBN, SOME have two. Is it appropriate to use ISBN AS a primary key for a book table ( as I have seen it in one book). What is ISBN basically. What can be the appropriate primary key for book …

Member Avatar for masijade
0
112
Member Avatar for pparker

Hi, I'm going to begin school for CS in a couple of months, and am trying to get started with some of the material on my own. I need to learn some Java; I've done a bit of C++ in the past. The prof sent me an email saying at …

Member Avatar for jwenting
0
118
Member Avatar for nnobakht

Hey guys, i have a linkedlist called CDArtist and one called CDTitle. i have all the functions and classes written and working except one which i have no idea how to. I need to be able to delete a CD by the name of the title or artist but this …

Member Avatar for Ezzaral
0
185
Member Avatar for Talam

Hi, we are planning to implement a software, which can read the information about all the Nodes connected in its newtwork, as soon as this software is installed in networked PC. This could be done with C/C++ system level programming. But we are thinking to do it in Java, J2EE. …

0
38
Member Avatar for swarnamalya
Member Avatar for mragot

Hi everyone...good day to you all....I am looking for more information about RR Scheduling....you see I started to do my project in our OS subject which is FCFS program and RR program....and I finish with FCFS program but the problem is I can't start the RR program because I don't …

Member Avatar for jwenting
0
249
Member Avatar for ob1wan

I'm trying to simulate a typewriter effect in an applet. I have a main box and input box which I want to copy the input text letter by letter in to the mainbox. The problem I'm having is when I try to sleep it sleeps the whole time then prints …

Member Avatar for Ezzaral
0
119
Member Avatar for parthiban

Hi all, I'm a beginner in JAVA studying SWING. I learned that if we want to handle an event for a event source(say JButton) we should implement corresponding Event Listener(say ActionListener) . I also understood that we should register the Listener with that event source. With that knowledge I tried …

Member Avatar for parthiban
0
102
Member Avatar for balagangadharm

hi how to disable the url in browser.for ex:http:\\localhost:8080\webapp\one.jsp; but i need http:\\localhost:8080\webapp.user must not know the wat jsp he is using. Iam not using frames.plz reply.thankx in advance

Member Avatar for jwenting
0
92
Member Avatar for ingunn

[CODE][/CODE] How do I build an array with array values input by a user, calculate min, max, average, and delete some elements-All these to use SWITCH?

Member Avatar for jwenting
0
74

The End.