32,204 Topics

Member Avatar for
Member Avatar for pineapple

Hey there. I have working code that reads in a text file into a 2d array. The text file holds symbols that make up a map for a game. I'm trying to assign each of the symbols (like ^, for a mountain) to an object, and store those in the …

Member Avatar for DaSogo
0
146
Member Avatar for etinnie

[B]:rolleyes: Hello All,[/B] [B]I am very new to writing Java program so am here looking for help but most I want learn more about java. I am try to understand the code but it does not click for me. [/B] [B]My question is: I am trying to write a program …

Member Avatar for iamthwee
0
88
Member Avatar for crawf

Hi all, I'm making a applet, about a users reaction time for when a coloured square changes colour... Ive seemed to get something off to a bit of a start, but its very basic at the moment, and i would just like to ask for a bit of assistance or …

Member Avatar for crawf
0
117
Member Avatar for darine32

Sorry Here is the code. I got my result ok I can't seem to get the calculation: [code]public class Commission { public static void main(String args[]) { int salesp[]; salesp= new int [15]; int salespw[]={500,1000,350,625,5000,200,280,230,290,376,610,2000,350,100,150}; double commision=.09; double total; { System.out.printf( "%5s%8s\n", "Salesper", "Sales per Week" ); { for(int counter=0;counter …

0
40
Member Avatar for rakesh.java

hi this is rakesh... i had a small doubt about rmi.. i want to design chatserver by using rmitechnology... would u plz suggest me how to preoceed with that.. bcos i am very new to this rmi application.. i think this is first time iam using this......... i want an …

0
56
Member Avatar for ljungmichel

ive been searching through at least 5 different forums on various sites (including this one) and i still cant understand why i'm getting the error message illegal start of expression at [code]public static overallNumGrade(int quiz1, int quiz2, int quiz3)[/code] here is the full program: [code]import java.util.scanner; public class Jungmichel3 { …

Member Avatar for ljungmichel
0
165
Member Avatar for lalit2512

Hi, can anyone hel me how to connect to database in struts? I am using Oracle DB of personal pc. Tomcat 5.0 and struts 1.2.9 thanks lalit

Member Avatar for jwenting
0
64
Member Avatar for praveenmanchu
Member Avatar for static

Hi , My project is about server control sys. Server can lock as well as unlock to clients, calculating computer usage.. How can I get some coding about client-server as a reference ? :confused: Plz H3lP. Thank you.

Member Avatar for jwenting
0
24
Member Avatar for med7at7egazi

hiii all ..... i am in the last year in the faculty of computer science and i wanna know more ideas about graduation projects and i prefer it to be about web or mobile application and ignore any recognition ideas cause it's accuracy can't be so good as i think...... …

0
54
Member Avatar for kathryninvt

hi.i am not sure if i posted this in the right area.if i didn't please forgive me.i am learning how to do this.i am not sure how to explain it,so i will try to explain and tell you what i see happening.please bear with me as i don't really understand …

Member Avatar for Phaelax
0
163
Member Avatar for TheVerve51

I'm having trouble. If I try to open up a new window by clicking on a link, my computer just freezes for a couple of minutes and then doesn't even open the window. I'm basically computer-illiterate, so I have no idea what's wrong. Is it something with javascript? i thought …

Member Avatar for TheVerve51
0
81
Member Avatar for dannyfang

HI, I'm new to the licensing mechanism, and I would like to gain an understanding on the Java FlexLM API usage. I was wondering if anyone could point me to any examples or share any of their references as to how the FlexLM Java APIs are being used to segregate …

Member Avatar for pould
0
10K
Member Avatar for jlgad

I have 3 classes..but i need to print the outcome from the printArray. Right now it is printing from the GetTax Compute class. I am so confused. [code] Class 1... public class PosCalProgram { public static void main(String[] args) { double x = 0; item[] items = new item[3]; items[0]=new …

Member Avatar for DaSogo
0
140
Member Avatar for Aretai

Hi, I do not know where to place non-default Java classes so that i could be able to import them with command like this: import myclass.myoperation; just like import javax.swing.JPanel; I tried to find a proper classpath but i was not able to locate it - tired echo %CLASSPATH% and …

Member Avatar for jwenting
0
87
Member Avatar for usama

Hi all i want to make the textbox in netbeans Right to left and make it setFocus but these do not found in textbox properties what i can do? Osama

0
64
Member Avatar for spacedani

Hello, Could somebody help me with my problem: I´ve got a Vector all. Data is: name, date, price@dateX i will print out every person with name, and the amount (all prices together for that person) How to do that??

Member Avatar for iamthwee
0
109
Member Avatar for teton

Ok, so I missed the entire Nascar race today trying to figure out why I couldn't listen to the scanner which uses J2SE Runtime Environment. In my add/remove programs it shows that this is installed. I uninstalled/reinstalled (3times) but when I try to use the scanner function it asks to …

Member Avatar for 'Stein
0
206
Member Avatar for pineapple

Hey, I'm a beginner programmer and have been grinding my teeth over this one specific part of my program for hours and have finally admitted to myself that I need help. Here's the problem: I have to write an encryption function that is simply the sum of the unicode values …

Member Avatar for iamthwee
0
136
Member Avatar for crawf

Hi again guys! I was just wondering how to limit the number of values that are printed out on the screen from a users textField.. Like say, if a user put in 4, only 4 numbers would be printed...Im wanting to do this with my perfect numbers applet, so the …

Member Avatar for DaSogo
0
143
Member Avatar for girish.sh

Hi all, I am a new joinee in this forum. I am facing one problem. How to call Java classes and methods from shell scripts?? i am using KSH. Is it really possible to do that or not? Response will be appreciated. Thanks, Girish Sharma

Member Avatar for masijade
0
306
Member Avatar for aarya

i am learning ejb. which is the best and easiest software to deploy. is it weblogic or eclipse or jboss. i m little bit confused . any body guide me with good tutorial site? thanks

Member Avatar for masijade
0
101
Member Avatar for usama

Hi All i hve worked as Java Mobile Application programmer with netbeans 5 tool. i want an urgent help to how use action of Mobile device Buttons(up , down ,1,2,....9,#,*) Usama

Member Avatar for aniseed
0
114
Member Avatar for yugandhar
Member Avatar for aniseed
0
58
Member Avatar for rew24

hey guys ....how good are hotcerts.com preps for solaris exams ? . iam going to take one soon and i need ur guys help ..please do let me know

Member Avatar for aniseed
0
90
Member Avatar for Coffee_Monzter

I m currently also looking for source code implementing LSI written in Java. Any suggestions? <thread broken from [URL="http://www.daniweb.com/techtalkforums/thread9128.html"]original thread [/URL]>

0
92
Member Avatar for praveenmanchu

[code]import java.awt.*; import javax.swing.*; /* <applet code="JScrollPaneDemo" width=500 height=450> </applet> */ public class JScrollPaneDemo extends JApplet { /*public JScrollPaneDemo() { //repaint(); }*/ public void init() { // Get content pane Container contentPane = getContentPane(); contentPane.setLayout(new BorderLayout()); // Add 400 buttons to a panel JPanel jp = new JPanel(); jp.setSize(50,50); jp.setLayout(new …

0
104
Member Avatar for Cudmore

Sooo... I just started designing the GUI for an application that I'm writing.. And, well, I can't get either the awt.TextArea OR the swing.JTextArea to work properly. Here are snapshots of both, along with the problems I am experiencing. If anyone can resolve these problems, please let me know.. I …

Member Avatar for Cudmore
0
256
Member Avatar for it-1

i need to link between JAVA code and C# code i need to call C# from java or write C# code in JAVA code can anyone tell me how?? THNX

Member Avatar for server_crash
0
68
Member Avatar for adileoxfxanis

If this isn't allowed...I'm sorry... Hello, I am a Freshman, and when I get into my sophmore year I'll be taking a Computer Science Class. The only problem is...I don't know anything about Computer science. My friend told me if I wanted to be ready for the class, I should …

Member Avatar for server_crash
0
184

The End.