36,051 Topics

Member Avatar for
Member Avatar for britto

hi...... Im doing my main project... im creating an IDE for c,c++,java using java lang... i need to link the program written, to the c compiler... any ideas... then whr can i download the source code for net beans IDE

Member Avatar for stultuske
0
167
Member Avatar for mahvash

Hi.. is there any way thwat i can convert my csharp tool to java, since now iam using linux and it doesnot support chsarp, i have to submit my final project in december so need urgent help... <snip>

Member Avatar for dickersonka
0
86
Member Avatar for SonxQ7

Am not sure if this belong here or to JSP forum, mods kindly move it if it does ... thanx Hi have the this exception, seems my object cannot be found/bound to my form Stack Trace [code] SEVERE: Servlet.service() for servlet debugjsp threw exception java.lang.IllegalStateException: Neither BindingResult nor plain target …

0
74
Member Avatar for allpool

Ok here is my problem ive got no code as not sure were to start java is a mare for me im not sure im undersatdning it very well. problem: Times Table Tester 2 rand numbers between 1 and 12 displayed on screen 2?3=6 the operator is also calculated using …

Member Avatar for stultuske
0
60
Member Avatar for freudian_slip

Hey all, I use Windows XP and atm, I need to increase the memory allocated from default 64M(i think?) to 500M. So I'm in the directory where the jar file is (I'm using JFLAP if anybody is familiar with it, it's for statemachines/automata) and i type the following: java -Xmx500m …

Member Avatar for masijade
0
92
Member Avatar for edensigauke

hello everyone. i have been trying to code an MP3 player, but Java does not support this, it only supports wav, thus wma, mp3 and other music or audio formats are denied. i thought of incoporating a converter, but still the converter is even failing to make the conversion: here …

Member Avatar for stultuske
0
164
Member Avatar for sakkiharry

Hello , Can any one tell me the major differenses between JCanvas3D and Canvas3D? Using Canvas3D in my application is affecting the Lightweight components. Can I use JCanvas3D instead of Canvas3D? Is there any way to achieve transparency using JCanvas3D? Thanks&Regards, Hariprasad

Member Avatar for stultuske
0
33
Member Avatar for manelBH

hi all, I should develop a print server using tcp connection to test on an embedded system, The print server should accept more than one client but it shouldn't serve the client i+1 until serving the client i without saving the flux in the buffer because it isn't enough space …

Member Avatar for stultuske
0
114
Member Avatar for zyaday

I have these java packages, There are different games in java with menus, buttons and everything. Now i want my software to be jsut like the other softwares which one can install and use. My problem is I don't know how to create a set up file in java. I …

Member Avatar for stultuske
0
171
Member Avatar for sakkiharry

Hello , Can any one tell me the major differenses between JCanvas3D and Canvas3D? Using Canvas3D in my application is affecting the Lightweight components. Can I use JCanvas3D instead of Canvas3D? Is there any way to achieve transparency using JCanvas3D? Thanks&Regards, Hariprasad

1
48
Member Avatar for DeadJustice

I can add a new node if the head is empty, but I can't attach a new node. Instead I get a null pointer error. Can anyone see what I'm doing wrong. I think I've been staring at this for too long. EDIT: Forgot to say I'm adding the Nodes …

Member Avatar for DeadJustice
0
1K
Member Avatar for jbennet

Okay i need this quick please i am kind of stuck basically i have got to find the highest and lowest numbers out of four integers. Is there a function in java.math or do i need to make one using a loop maybe?

Member Avatar for jbennet
0
107
Member Avatar for dnmoore

I have the following GUI code but my JLabel for results doesn't work when either of the buttons are pushed [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TempConverterPanel extends JPanel { private JLabel input, results; private JButton output_f, output_c; private JTextField temp, fahrenheit, celsius; public TempConverterPanel() { setLayout …

Member Avatar for dnmoore
0
97
Member Avatar for programmingme

I need to make this program pass by reference. How can I do that? [CODE] import java.io.*; import java.util.*; public class Convert { static Scanner console = new Scanner(System.in); public static void main(String[] args) { int pounds; int lb; int oz; int totalOz; int lbs; int ozs; int totalOzs; //Calling …

Member Avatar for programmingme
0
145
Member Avatar for MrDiaz

Hello, I'd like to create a function that accepts two objects and compares properties between them. Example [code=java]public boolean (obj1, obj2){ if obj1.property1 = obj2.property2 return true else return false } [/code] How can I do this?

Member Avatar for MrDiaz
0
116
Member Avatar for Fedail

Hello All i have go to Jsp new so i have a big problem to compatible with it can u see me some open source program tp see it and know how u detect it so my minde still at asp.net and can't remove to jsp may be after read …

Member Avatar for stephen84s
0
84
Member Avatar for vladdy191

I'm trying to read in a text file character by character. However, when I try to read it in it using the readChar method in DataInputStream it gives me a IOException. Heres what I have so far [CODE] FileInputStream stream; try { // Open an input stream stream = new …

Member Avatar for destin
0
446
Member Avatar for gowrishg

Developing an applet , which queries information from database and displays. Database used is sqlite. Application Envi:: Application runs on the local machine and the database file is present locally. The application is run inside Web browser and not in the appletviewer. Due to security restrictions, applet doesn't allow application …

Member Avatar for gowrishg
0
136
Member Avatar for AirmanTheGreat

Sorry to everyone, I figured this out just after I posted, But i do still have another question, For a certain operation I am required to use log's in determining a variable for example Var3=log(Var1/Var2)/log(8) but java doesnt seem to accept log. What is the appropriate way to use logarithm? …

Member Avatar for destin
0
70
Member Avatar for pace59

Can anyone tell me what this error may mean? I can't figure it out. "javascript.ISException unknown name"

Member Avatar for javaAddict
0
51
Member Avatar for dnmoore

I need a little help converting my GUI panel into JButtons instead of text for some parts [code] //Davina Moore //TempConverterPanel //November 6, 2008 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TempConverterPanel extends JPanel { private JLabel input, results_f, results_c; private JButton output; private JTextField fahrenheit, celsius; public TempConverterPanel() …

Member Avatar for dnmoore
0
118
Member Avatar for faisaly

Dear All, I've three questions. Kindly answer these. 1. Why we use enableEvents() method? 2. Can a GUI component handle its own events? If yes; then how? 3. Which technique/concept can be use to implement multiple inheritances in java?

Member Avatar for stultuske
0
114
Member Avatar for Amoneh

Hi how are you all?hope fine I need quick help please, i'm a computer science student, in fourth year,and i should have a graduation project,the problem is i cannot find a good idea yet, so i need a quick help. i think a bout something in "java applet" ' but …

Member Avatar for stultuske
0
92
Member Avatar for trtheepan
Member Avatar for NycNessyness

Hello everyone. I wanted to know how I could create a simple time restriction variable. For example making private double hour; not go over 2:59. Basically I don't want someone to be able to input a number greater than :59 in a Jtextfield. I can do a time application, but …

Member Avatar for destin
0
105
Member Avatar for rainny

Hi, all.. Does anybody have experiencing on store the spoken word into database? For example, when the program hear the voice spoken by some person, the program can store the spoken word into the database? The database system use is MySQL. Anybody have any idea on it?

Member Avatar for rainny
0
112
Member Avatar for llemes4011

I don't know how to word this very well, so please bear with me... Is there any way to get a java program to respond in different ways to the results of other programs? Like, if an integer in the other program (not written in Java) is greater than say, …

Member Avatar for llemes4011
0
203
Member Avatar for jkun2

I have a project where i am having to create a doubly link list of persons, with lastname, firstname, and id number. Basically, how do I implement my compareTo method in my add method of dbl list ??? thanks in advance. Here is my person class: [code=java] public class Person …

Member Avatar for jkun2
0
132
Member Avatar for askhan

I am using a for loop and i want to print anwer vertically with the number. but rite now i am getting the answer horizontally i also \n but no luck below is the code. public String getMultiStringInformation(int num, String str) throws RemoteException { String result = "\n"; for ( …

Member Avatar for askhan
0
80
Member Avatar for hell2heaven

I am building an apllication.In that i need to save a text typed in text area to a file.so when i open save dialog box and input a file name that is already present in the folder it prompts whether you want to replace the file or not.After answering "no" …

Member Avatar for peter_budo
0
94
Member Avatar for java-clueless

Fig.2.7: Inventory.java [code=java] // Inventory program import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; import javax.swing.JOptionPane; public class Inventory { private static double totInventoryValue = 0; public static void main( String arg[] ){ product invProd[] = new product[3]; Scanner input = new Scanner( System.in ); for (int iter = 0; iter < …

Member Avatar for Ezzaral
0
90
Member Avatar for smakos

please i am a final year student in one of the universities in UK and and i am developing a school portal for a secondary school as my final year project and the portal b/c of time i have narrowed to down the scope of the project to only handle …

Member Avatar for bobocqu
0
112
Member Avatar for lakshma.sugunan

When some datas are inserted in to a DB table from a jsp page, how do i get the primary key in my table autogenerated?? finiding out the highest value for the primary key in the table? Pls help me wid the coding in JAVA or HTML.. I use SQL*PLus.

Member Avatar for dickersonka
0
80
Member Avatar for vivasc

Hi. I am building an intranet directory to list all the websites in our organization. We have built the directory in JSP working with Oracle. Idea is to have by default the directory ordered alphabetically and grouped by the first letter of the site name, as an example: A Asia …

0
93
Member Avatar for imraan
Member Avatar for thebiff

Hi i have been trying to write a code that takes a picture and gets the odd valued pixels and turns them red, and also get the even values pixels and make them brighter. I am stuck and any help would be appriciated. [CODE]/** * Decrypt.java * Starter file for …

Member Avatar for PoovenM
0
127
Member Avatar for srijapnair
Member Avatar for peter_budo
0
99
Member Avatar for adetya

[code=java] public class GameOfLife implements GameInterface { private boolean[][] originalMap, // The initial cell configuration map, // The current cell configuration newMap; // The next generation configuration private GameGUI gui; private int generation = 0; private FileIO fileIO; // GameOfLife constructor public GameOfLife() { originalMap = new boolean[MAX_ROWS][MAX_COLS]; map = …

Member Avatar for masijade
0
178
Member Avatar for sAeNxNyA

im trying to time stamp this code to plot a graph base on different array size eg 100 0.454sec 1000 0.467sec etc but so far im only getting 0's no matter the array size and id also want to find out the amount of comparisons made before the search key …

Member Avatar for BestJewSinceJC
0
93
Member Avatar for poojapo

Is it possible to execute Perl code from java script? I have installed apache-tomcat for the same. In which folder should I paste the html file and the Perl file (uses cgi module) ?

Member Avatar for KevinADC
0
82
Member Avatar for yawjava

hi my remove node is not working....can someone help me correct it // Polynomial.java public class Polynomial { private int degree; private Node head; public static Polynomial addPolys(Polynomial poly1, Polynomial poly2) { Polynomial polyRes = new Polynomial(); int power = (poly1.degree > poly2.degree) ? poly1.degree : poly2.degree; while (power >= …

Member Avatar for destin
0
142
Member Avatar for kiel19

I have wrrtten code for my mobile application, but while running it in java wireless toolkit, i get a screen that displays the following: " EnvGameMidlet.EnvGame.EnvGameMidletException.java.lang Class Not Found Exception: EnvGame/EnvGameMidlet." What could be the problem. it compiles well but displays that message when run. I am developing it using …

Member Avatar for peter_budo
0
105
Member Avatar for janamrob

How can I use the Exceptions I have created below in the Cinema class? [B]//IllegalAgeException class[/B] [CODE] public class IllegalAgeException extends Exception { /** * Creates a new instance of <code>IllegalAgeException</code> without detail message. */ String exception; public IllegalAgeException() { exception="Unknown"; } /** * Constructs an instance of <code>IllegalAgeException</code> with …

Member Avatar for javaAddict
0
175
Member Avatar for Easter Bunny

ok, i have to get two mysql tables to work as one. one is called sale_mast_data and the other is called sale_mast_data_h. they both have the same columns. the only difference is that the one with the "_h" has the history of previous shift sales. the two tables both contain …

Member Avatar for Easter Bunny
0
110
Member Avatar for BhaBy AdiK

i have done making a table in mysql database, i was also able to add data through jsp into the database, i can also delete it but i just don't know how to edit or update the data stored in the database, using jsp...can u please help? just codes or …

Member Avatar for stephen84s
0
53
Member Avatar for rhy

I am thinking about becoming a programmer and have a BA in socail science and computer tech certificate. Can I ge a job with just either a C ++ certificate or Java certificate. Which one would be better to take. Please advise.

Member Avatar for ithelp
0
161
Member Avatar for kenwalker

Hope you can help. Windows XP Sp3 installed. Now Java applets on internet won't work. Explorer settings checked and enabled. Uninstalled Java and re-installed but still doesn't work. Checked Ashampoo Firewall settings and they're OK. Using Avast antivirus.

Member Avatar for cohen
0
94
Member Avatar for DeadJustice

I seem to be able to load the files in my program. Then I can loop through the lines one time, but if I try a second loop to load the strings into an array that one won't work. Here's my code. I thank you for any help in advance. …

Member Avatar for DeadJustice
0
106
Member Avatar for vladdy191

I'm doing a project for a class and it says to write a program that translates code from one programming language to another. It says that my class containing my static main method should be named "Translate". It should take as input source code of a programming language as a …

Member Avatar for javaAddict
0
85
Member Avatar for soultrav

I am building an xml parser in java which will handle a catalog with some books (that have price and usefulness) and I want to implement an [B]optimum[/B] algorithm that selects the books from the catalog which have the maximum usefulness while staying within the budget. Example: [code] <catalog cash=”100”> …

Member Avatar for dickersonka
0
102

The End.