32,199 Topics

Member Avatar for
Member Avatar for agarwalsrushti

Hi All, I want escalations mails to be sent to higher authorities after the specified duration has been exceeded. Eg: If a client has a task to be performed in 2 hours and if it is with him for more than that then a escalation mail should be sent to …

0
38
Member Avatar for hawglinx

I am in my first java class and I am writing an amortization program. I have gotten every thing to work correctly thus far except when I try to put in an outer loop I get the following error: 1 error found: \gnixon00Lab3Test.java:116: cannot find symbol symbol : variable restart …

Member Avatar for hawglinx
0
471
Member Avatar for handrews3583

I am very new to programming and am really struggling with Java. I'm currently working on the below code, but when I compile the program, I'm getting several messages referring to multiple lines in my code, all stating things like the following: C:\Users\Heather\Documents\HACH5_8.java:111: cannot find symbol symbol : variable showFeet …

Member Avatar for handrews3583
0
208
Member Avatar for sirishag.ch

Hi, I want to check whether a system exists in LAN or not and also the database residing in that system is up or not.So, for this I'm trying to use telnet command as follows, Runtime rt=Runtime.getRuntime(); Process p=rt.exec("telnet 192.168.1.15"); No error nothing ,It is executing .But by using the …

Member Avatar for Rushikesh27
0
2K
Member Avatar for lindanilou

hi does anyone has the java code for quassian quadrature rule in java please? this is a method for numerical mathematics. i need to write a code in java for this i understand the mathematics behind it very well but unfortunatly i dont know how to write it in java. …

Member Avatar for bibiki
0
84
Member Avatar for Xessa

I am sending an array which consists of objects that i have created. And my class consists of a String value and a HashMap How can i get these values? $F{myObject}.get(1) Can the code i wrote above work?

0
61
Member Avatar for PhiberOptik

Hey guys, I have two JPanels for my game, one jpanel shows my character, informational text and the other shows the map which is made up of a tileset. Is there anyway I can show the map behind the character and information without merging the two java files? the Map …

Member Avatar for cale.macdonald
0
843
Member Avatar for SchoolBoy

I am writing a program for school where the user inputs their age into a String which is then converted to an integer. When a value that cannot be converted to an int is input, an exception is thrown. I have written the code for this, but I am not …

Member Avatar for SchoolBoy
0
80
Member Avatar for smokin745

Ok i have a mthod that writes data to a file and throws an exception [CODE] import java.io.*; public void writeBook()throws IOException { String filename = JOptionPane.showInputDialog("Please enter a file name to add the book details in."); FileWriter outputFile = new FileWriter(filename); BufferedWriter outputBuffer = new BufferedWriter(outputFile); PrintWriter printStream = …

Member Avatar for masijade
0
82
Member Avatar for Egypt Pharaoh

why when increase floating number with floating number catch error as [CODE] for(double i=0; i<10;i+=0.1) System.out.println(i); [/CODE] the out put is 0.0 0.1 0.2 0.300004 ....ect but the logicaly output is 0.1 0.2 0.3 ....ect

Member Avatar for kvass
0
109
Member Avatar for AlcatrazLogan

Hi, I'm developing a web service that will be running alongside a server. They'll be sharing similar classes and data and I was wondering if there would be a way to launch a JFrame for the server when the web service is deployed?

0
75
Member Avatar for AbdullahDar

Hello there, I have been searching for tutorials for 'j2me sdk 3.0' for few days but havent found any helpful tutorials. All of them that i came across were for 'j2me wireless tool kit' which according to sun has been embedded in 'j2m sdk 3.0'. So anyone from this community …

Member Avatar for peter_budo
-1
107
Member Avatar for Olliepop

Hey guys :) I have been working on an MMORPG for the sole purpose of education recently because i want to start computer science at University in a couple of years and be really prepared for it (i'm only 17 this year) So far i have basically all the networking …

Member Avatar for Olliepop
0
101
Member Avatar for habibalbi

I already created a class Calculator that performs basic arithmetic, now I need to create a class called ScientificCalculator that the functionalities of "Calculator" class through use of inheritance. Scientific Calculator has additional operstions of 1) taking a log of a number to any base 2) taking any number to …

0
48
Member Avatar for ceyesuma

Having problem setting JTextFields on a passed object. System.out suggests that all parameters are correct. Am I working with the KeyCards Object wrong? (keycards just builds Panel and components) netbeans project attached. The problem to be solved is in the keycards package. XMLReaderProgressions.java and FillJTextFieldsFromGetters.java Every part of this code …

Member Avatar for ceyesuma
0
85
Member Avatar for DemonGal711

This is my first java code so needless to say I don't know a lot about this. I think I have it all coded correctly but I don't know how to test to verify that it works. The assignment (found [URL="http://media.pearsoncmg.com/aw/aw_kurose_network_3/labs/lab2/lab2.html"]here[/URL]) wants us to actually send a message once we're …

Member Avatar for BestJewSinceJC
0
197
Member Avatar for rohit_var

i want to make a project on Lan Messenger. but unable to get information of how it works i.e. transfer file, send message.... help me out!!!!!!!!!!!!!!!!!!:confused:

Member Avatar for jwenting
0
78
Member Avatar for llemes4011

Hello, I'm working on a specific classloader for my application, but I'm having trouble getting the Generics to work the way I would like them too. I have the following: [code] public interface Loader<E extends GEObject>{ // methods } public class GEClassLoader<E extends GEObject> extends URLClassLoader implements Loader<E>{ // methods …

Member Avatar for ~s.o.s~
0
350
Member Avatar for LiquidScorpio81

I'm trying to use for loops to output: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 public class Fit1 { public static void main(String args[]) { int side1,side2, side3; for (side1 = 1; side1 <= 3; side1++) { for (side2 …

Member Avatar for stevelg
0
92
Member Avatar for Dmith

how to deal with awt and swing component in java .error is produced when i compare the swing component so what i do for solving it;

Member Avatar for javaAddict
0
102
Member Avatar for coolguy0201

Hi, I need the solution immediately for this Elevator Problem. Please find the attached document and reply to me immediately. Thanks

Member Avatar for jwenting
0
97
Member Avatar for beanboy

hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool:

Member Avatar for jwenting
0
93
Member Avatar for Bemani_lover

I am having a small bit of trouble with a certain program. Here's the program requires. The program developed in Chapter 8 sent data to an external, sequential data named payment11192007 (or payment plus the system date for your computer). It opened a connection to the DataOutputStream and used the …

Member Avatar for BestJewSinceJC
0
235
Member Avatar for its.avinash

Hi guys, Anybody know how to generate checkboxes dynamically if i want to generate them with the result i have fetched from a database query. The query would be like that, SELECT calltype From table Where phone_no=123456; Now result of this query will vary everytime, there total number of checkboxes …

Member Avatar for stultuske
0
91
Member Avatar for xxunknown321

I am having trouble adding information from a ".txt" file to a linked list... here is what i have. list1.txt: 1 2 4 5 6 7 8 11 [CODE] /** The LinkedList1 class implements a Linked list. */ class LinkedList1 { /** The Node class stores a list element and …

Member Avatar for BestJewSinceJC
0
164
Member Avatar for beforetheyknew

Hi guys, got a few questions 1. i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after …

Member Avatar for BestJewSinceJC
0
82
Member Avatar for meowbits

This is an assignment I have and i'm running into problems on this part of it. I need to assign the value I get from scanner input = to a variable in another class. After I do that, I need to be able to call a method that will display …

Member Avatar for meowbits
0
151
Member Avatar for memBrainStudios

Greetings! I am wanting to macro commands for the Windows Command Line interface from within a Java application. How do I do this?

0
41
Member Avatar for puk

Hi, I have a form linked to a servlet that uploads files. I would like the name of the file that has been uploaded to be displayed next to the <h3>line once it has been processed. I have no problems linking the servlet to the form or uploading the file. …

Member Avatar for stultuske
0
58
Member Avatar for 8bitrubix

How can I add a loop to this so that it asks the user if they want to calculate another loan and if they choose no the program ends, but if they choose yes, the program loops back and asks for loan amount? [CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public …

Member Avatar for stultuske
0
81

The End.