32,204 Topics
| |
Hi All, I have some log messages and sysout statments in my java code. I am executing my code through a shell script. I could able to see all my sysout statments since I have redirected stdout message to a file. Now I need to see the log messages to … | |
Differentiate switch and if statements in java. Explain nested switch with example. how can we use break as a form of GOTO statements | |
:'( please help.... can you give me a full program of a game using java? i don't know it... please give me some idea... give me game program, the important is it is a game... please thank you and God bless!! | |
I have to create a program to calculate the number of years it will take to become a millionaire if i invest a certain amount and receive interest on it. I need a little help on how to start it, the only thing i have so far is we have … | |
| |
my class has an enum definition as property, and an enums type array as property like this: [CODE=java]public class GameBoard implements Serializable , Cloneable { private final int N = 8; public State[][] Board = new State[N][N]; public enum State { empty,player1,player2; }[/CODE] i want to write a clone method … | |
Hi, i am facing a problem with storing data into linked list. I have previously store the data read from the text file into an array but now my assignment require me to store all this record into a linked list. Can anyone help? May i know how to do … | |
hello guyz,,who knows how to tokenize???i mean,,i am about to start to make "String Calculator" but i don't know how to tokenize,,,do you know any sites that could explain best about tokens??thank you ahead,,,, | |
I am determining what method to call by using the runtime class. My problem is whenever I pass in a null object, obviously it will throw a null reference exception. How are you able to determine at runtime the class of a null object. Although its null i need to … | |
hi im new to java and just need a little help in the right direction. I am trying to display an input of int on number at a time. So for example the user would enter 1998 and the output would be: 1 9 9 8 and we have to … | |
Hi, My problem is that I need to tell class A to repaint, but from class B. Class B will be a thread that updates components of class A and will eventually tell A to repaint. The basic idea of my code is as follows: [CODE] class A extends JPanel{ … | |
Hello, Im planning to design a software that will send SMS to a group of numbers. Users will be able to create unlimited group and add unlimited numbers. It will work same as Nokia PC Suite SMS Sender. Just connect mobile to PC, Open application, Select Group and send SMS. … | |
I am new to programming and was thrown into an online java course before I took the prerequisite course. I love programming so far, but am lost in java and would appreciate any help that anyone has. I have the following programming challenge to complete. As well as creating a … | |
Ok, I am having trouble getting this loop to continue. It just asks once and that's it. Here is my code: // ---------------------------------------------------------- // ExamScores.java (Application) // // Author: // Entered by: -- -- // Classes: ExamScores (list all the class files related to this problem) // Date: September 22, … | |
i have to write a simple java program write an application that determines the value of coins in a jar and prints the total in dollars and cents. Read integer values that represent the number of quarters, dimes, nickels and pennies so i did it i don't know where to … | |
i would like to how a host name is stored and it's structure in dns (domain name service) along with ipaddress.by which name a normal client computer is given it's hostname in the dns. here the client availing particular host name does not pay for it. in my computer i … | |
Hi all, I have developed an application in C++ using Borland Builder 6. In this app I load a html file which contains an applet stored in a wifi robot so that in my app I receive the image from an IP camera installed on it. The fact is that … | |
Hi. I am using netBeans 6.1 on windows XP, and when I create a java class and I create a frame inside that class? why I can not see the design of that class? I mean why I can not see the frame and also the control like buttons, text, … | |
Hi, i am facing a problem with reading of duplicate element in an array. I was told to ignore the duplicate element in a text file and continue read in data from the text file at the same time store the data in an object array and diaplay it. However, … | |
Hi All, i need yr help guys, i am developing a software in which i want to add one class object in MySql table, since there is no datatype available in MySql so that i can write object in to it, please do me a fever, what i should do … | |
I have 3 applets like this one that have walkers. What I need help with is adding an action listener to the buttons. I have tried several times and keep getting this error. I did have oneWalkerButton.addActionListener(this); [B]in java.awt.Button cannot be applied to walking[/B] What is supposed to happen is … | |
I have a problem that I've been poking at for 2 weeks and I'm stumped. The basic problem is this: If you have an array of objects (an ArrayList in this case), and each of these objects has more than one instance variable (3 variables in this case), how the … | |
How can I use right-to-left text in a JTextArea? | |
Can anyone recommend any sample code for a GUI design for an aircraft instrument panel? | |
Hi All I have a about java. and my question is i have a window open and in that window there is a add button when user click on the add button then a form window opens up and in that form window user can input anything thing want and … | |
Hi Friends.. Please solve my problem, I want to display values by reading the properties files basing on locale,I known it but my problem without using unicodes, For example i want to display telugu language, [B]hello=హెల్లొ: instead on wrting unicode..(hello=\uc047)[/B]i want to read direct telugu language.. Please tell me friends … | |
Hi All, Iam new to Connection Pooling in Java. I need to create connection pooling for my MySQL Database with JSP using Bean Class. Please help me.. Thanks in advance. -- Vinikz | |
i have a small app that reads a forecourt program's database. i want to get the current shift's info from that and display/print it out. SELECT name, liters, amount FROM salemast ORDER BY name the above statement was my first idea, but that didn't add them. just got a long … | |
hai friends, I want to convert a general expression into excel formula for eg: Grade="A1" OR Grade="A2" OR Grade="A3" convert this expression into =IF(OR(Grade="A1";Grade="A2";Grade="A3"); thank you |
The End.