32,204 Topics

Member Avatar for
Member Avatar for laguardian

Hey guys! I'm trying to create an accounting system, one that can create worksheets, create balance sheets, etc.. Is it easier to do this in Java or some other programming language. Got any suggestions on how I can accomplish this?

Member Avatar for jwenting
0
161
Member Avatar for abhayme

Hii... Read the thread and found it to be quite informative... I too, am making a stock broker project, learning purpose only... For that i use data, available free from yahoo finance... But, haven't progressed a bit in the representing via charts.. Please please help me out on this... Abhay.

-1
40
Member Avatar for 47pirates

I need to show the content of one panel class into another panel of another class ..i am new to java so i would appreciate any help...plz help me... in short i just want to add one panel into another through actionlistener of some button..

Member Avatar for 47pirates
0
401
Member Avatar for JavaStudent101z

I need some help with doing a choice. Atm i have [code]choice = switch (choice) { case 'A': case 'a': { optel (); break; } case 'B': case 'b': { break; } case 'C': case 'c': { break; } default: { System.out.println ("You did not choose any of the options"); …

Member Avatar for NormR1
0
134
Member Avatar for aman rathi

hello i am beginner to java i wrote a simple program of object array but it is showing run time error [QUOTE]Exception in thread "main" java.lang.NullPointerException at classarr.main(classarr.java:14)[/QUOTE] [CODE] class abc{ int i; } class classarr{ public static void main(String arg[]) { abc a[]=new abc[4]; int j; for(j=0;j<=3;j++) a[j].i=j+1; for(j=0;j<=3;j++) …

Member Avatar for JamesCherrill
0
100
Member Avatar for Majestics

How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required.

Member Avatar for Majestics
0
99
Member Avatar for laguardian

I created a program on NetBeans. The package contains three files: MainProject.java, Input.java, and Output.java. When I run the MainProject.java file on JCreator, it opens up the Input.java form, but when I click the "finished" button on the Input form, it doesn't open the Output form. How do I fix …

Member Avatar for peter_budo
0
95
Member Avatar for Mamun13

The following code shows a simple use of speech synthesis to speak the string "Hello World". [CODE]package helloworld; import javax.speech.*; import javax.speech.synthesis.*; import java.util.Locale; public class HelloWorld { public static void main(String args[]) { try { // Create a synthesizer for English Synthesizer synth = Central.createSynthesizer( new SynthesizerModeDesc(Locale.ENGLISH)); // Get …

Member Avatar for Mamun13
0
209
Member Avatar for smiles5611

Hi I am in a java class and am working on a mortgage calculator with gui. I think I almost am done and have the assignment parameters completed but am stuck on two issues. 1) can't get my scroll pane to work. 2) I want to have the user select …

Member Avatar for NormR1
0
243
Member Avatar for cozmo87

I'm writing an application for processing scientific data. The data is displayed in a jTable. I'm done with the data processing itself, now I want to do some conditional formatting to make interpretation easier for the end user. [LIST=1] [*]The last column of the table contains a threshold value, and …

Member Avatar for mKorbel
0
2K
Member Avatar for JavaStudent101z

import java.io.*; public class Wisk_project_template { private static BufferedReader inStream = new BufferedReader (new InputStreamReader (System.in)); //***************************************************************************** // handles addition private static void optel () throws Exception { // ask name System.out.print ("Hi - what is your name? "); // call menuLevels and ask for level menuLevels (); System.out.print ( …

Member Avatar for NormR1
0
203
Member Avatar for new_developer

What does "values", "data" and "field" mean in java ? For example, definition of encapsulation is hiding of data in a class and making this class available only through methods. In this way the chance of making accidental mistakes in changing "values" is minimized. In access specifiers, Java allows us …

Member Avatar for JamesCherrill
0
213
Member Avatar for laguardian

So, I created two forms: Input and Output. In the Input form, the user inputs the required information such as name and schedule. Then when the user is finished, he/she will click the "finished" button which brings up the Output form which has all the inputted info from the Input …

Member Avatar for laguardian
0
134
Member Avatar for conanzz

I have a picture with 2 buttons, and I want to move it through these buttones the problem is I don`t know how to make the actionListener for the other button to move to the other side, [COLOR="Red"]pictures are in the attachments[/COLOR] [CODE]import java.awt.event.*; import javax.swing.*; import java.awt.*; import javax.imageio.*; …

Member Avatar for conanzz
0
203
Member Avatar for farhanrocks

can anyone tell plzz!!!!what is difference between interface and annotation type in java?

Member Avatar for JamesCherrill
0
78
Member Avatar for phoenx

I have a problem in my game about button how I can display the random number example "3 + 5" in the upper button ...I try one button here but you need to click it in order to see the random number and only one number will appear..please any idea.. …

Member Avatar for phoenx
0
163
Member Avatar for Mona Ali

HI TO ALL [CODE] import java.applet.*; import java.io.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; public class sid_fari extends Applet implements ActionListener { String msg,msgs,msgss; Button loads = new Button("clik me"); public void init(){ add(loads); loads.addActionListener(this); } public void paint(Graphics g) { g.drawString(msgs,10,40); …

Member Avatar for Mona Ali
0
500
Member Avatar for Sabatino

Here is the error [IMG]http://i1199.photobucket.com/albums/aa465/aaron55494/compileerror.png?t=1311972955[/IMG] and here is the code that i'm working on [CODE] public String getKillMessage(String player) { String[][] selection = {{"Congratulations, you have defeated ", "}, {"Congratulations, you have ", "}}; int index = (int) Math.floor(Math.random() * 9); return selection[index][0] + player + selection[index][1]; }[/CODE] Any help …

Member Avatar for Sabatino
0
86
Member Avatar for efronefron

I was doing a projecteuler problem. I made a program that would find all the prime numbers under 1000000 and write them all in a file. Why is that if I use the file name as "primes.txt", the result is gibberish from beginning to end, but when I use "primes.dat", …

Member Avatar for NormR1
0
816
Member Avatar for syria718

pals i just wanna ask if anyone could show me how to declare and call a 2d array? thanks in advance!!!

Member Avatar for NormR1
0
134
Member Avatar for Farhad.idrees

Hi i m having problem... i want to give each random number to each month.. but it gives erros [CODE] public class a { public static void main(String[] args) { float average = 0f; String[] Year = {"Jan","Feb","Mar","Apr","May","Apr"}; int[] values = new int[5]; for(int i=0; i<values.length; i++) { values[i] = …

Member Avatar for Farhad.idrees
0
148
Member Avatar for 47pirates

I'm trying to display a total integer value taken from the Jtable cells and want to display the sum in the last cell so for that i need to covert the final sum to object or are there any other solution...any help will be thankful!!!

Member Avatar for mKorbel
1
180
Member Avatar for 47pirates
Member Avatar for mKorbel
0
89
Member Avatar for vomhaus

I need some help parsing a string array returned from method. current results: Here is the test Information: SPRCBT - Algebra 1 - Form 9D - Joe Smith Here is my Test Name [Ljava.lang.String;@5ec24193 Any ideas on the best way to return the values of the array instead if the …

Member Avatar for NormR1
0
225
Member Avatar for rinjin07

Hey all, I'm a total IT beginner and have been trying to figure out how to put raw html with css and javascript in the header on an article in Joomla 1.7? I heard about this JCE thing but no idea how it works. If someone could explain it to …

0
102
Member Avatar for akshu

hi i wanted to know that from cctv video are captured which will be tera bytes so we want to search a particular video from tera byte data.is it possible. but we are going to search video in a such a way that from 1hour video if we enter 12 …

Member Avatar for akshu
0
111
Member Avatar for cweeto

hey guys its good to be back m taking netcenntric as core module for dis semester would you pls help me through the course ma first project create a simple client/sever project using java to communicate two pc any help on how to go about what do i need ?

Member Avatar for JamesCherrill
0
41
Member Avatar for bleachisback

Hey guys, I'm not entirely new to java, but how it handles jar files puzzles me a bit. I want to be able to back up an already existing jar file (which I have working great), then detect and add all of the class files I have in my program's …

Member Avatar for NormR1
0
269
Member Avatar for Denmbithi

Which is the best programming software for teaching yourself java using window xp pack 2,please help out.

Member Avatar for a.oprea
0
94
Member Avatar for agent7

type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) previously initiated loading for a different type with name "javax/ejb/EJBObject" java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) …

Member Avatar for peter_budo
0
309

The End.