35,618 Topics

Member Avatar for
Member Avatar for wxoklp

Iam doing my comp engg in india...we arent taught C in extreme detail in our univ...is it crucial or wil it make things very simple for me in the future if i make sure i get a high level training in C at this initial stage?

Member Avatar for csurfer
0
196
Member Avatar for Debby0424

Why the functionality of a java based app with file access and file processing methods valuable for this type of business....? I believe that it is valuable because it allows the business to handle mutliple files from all over the wolrd and process them in a timely fashion. Say for …

Member Avatar for sillyboy
0
121
Member Avatar for Iamkishan

HI i am new to programing in general, currently I trying to learn java, but I am having trouble getting the compiler to work I keep on getting this message " 'javac' is not recognized as an internal or external command, operable program or batch file. " I have been …

Member Avatar for di2daer
0
85
Member Avatar for alsoumhi

Hi all, I got an error when I start admin server this is the error an error occurred while trying to start admin. check console log for more details please help how to avoid this error please

Member Avatar for alsoumhi
0
63
Member Avatar for multicoder

Hi, I have an application which is about harvesting the data from html pages, contains an interface. I had implemented it for (like customization of it) some html page to harvest. But jvm hitting me with - [ICODE] Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: Uncompilable source code - …

Member Avatar for multicoder
0
434
Member Avatar for happy8899

How can i develop a website where user can design their own webpage design??? thanks

0
88
Member Avatar for memegha123

hi! I m using netbeans 6.5.1 i am trying to read a text file from a jsp using the code [code] BufferedReader input = new BufferedReader(new FileReader("contactus.txt")); [/code] this file "contactus.txt" is placed in the same folder (ie web folder) as the jsp file. but the browser is giving the …

Member Avatar for memegha123
0
123
Member Avatar for Anish66

hi i m gonna do a project on inventory management ...i dont to how to start up...pls help me

Member Avatar for ithelp
0
44
Member Avatar for sreeram01

Hi all, I want to read the data from the browser what i opened in my browser using java.if can any one knows pls help me.... Thanks all in advanced.... Regards, sreeram

Member Avatar for peter_budo
0
110
Member Avatar for Web_Sailor

Hi I am having trouble reading a file inside constructor from a method. Here is my code:- I can compile my code but I am getting runtime errors. Error [CODE]Exception in thread "main" java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:133) at java.io.FileInputStream.<init>(FileInputStream.java:96) at java.io.FileReader.<init>(FileReader.java:58) at Testwow.readFile(Testwow.java:25) at Testwow.<init>(Testwow.java:13) at Testwow.main(Testwow.java:45) [/CODE] fh = new …

Member Avatar for kvprajapati
0
119
Member Avatar for johndb

Hello I am not an experienced programmer, and I entered some code from a book I am following, to see if it would work but unfortunately I have run into some difficulty. This program prompts the user for the red, green, and blue values, and then fills a rectangle with …

Member Avatar for johndb
0
4K
Member Avatar for gsingh2011

I need to log in to a website with Java, its an https(SSL) site. I have some code that doesn't give me an error but it doesn't log in. I've tried a similar program in python and it didnt login either. I think I'm missing some basic concept about this... …

Member Avatar for gsingh2011
0
182
Member Avatar for jaque322

i have an arraylist, that stores objects from a class called prematricula and every object stored has name and province how i can do to pass the name of the province and the method return the names of the students sorted alfabethically... please if someone can help me....

Member Avatar for jaque322
0
113
Member Avatar for KirkPatrick

Alright my program is giving me a hard time and I will have to briefly explain what it does and when the exception is thrown to give you a better understanding. My program goes off and reads a csv file, once it reads it, it adds the information to my …

Member Avatar for KirkPatrick
0
131
Member Avatar for aakaashjois

How do I create a Java based game??? This is a school assignment given to me. I want to use simple Java programming and create this game?? If you have any ideas please reply... Thanks

Member Avatar for masijade
0
30
Member Avatar for Vmtr

I'm somewhat inexperienced with Java and have been having an ongoing problem with using JOptionPane.showInputDialog. When the dialog appears, it disappears again before I can get to the drop-down or text box. It doesn't actually go away - by using Alt-Tab, I can get the dialog back. This is random …

Member Avatar for javaAddict
0
101
Member Avatar for dmanw100

Hello, I am writing a method which must open a file, read its contents, close the file, open it later, write to the file, and close it again. The method is failing at the first step and throwing an IOException when trying to execute: [CODE]FileInput Stream fileHandler = new FileInputStream("myfile.fil");[/CODE] …

Member Avatar for dmanw100
0
152
Member Avatar for gotm

So I have my text files saving perfectly from my program in the exact way I want them to. Here is a copy of the text file that my program saves that I am now trying to load back in, parse, and set up internally as another object: [CODE]scott-survey m/c …

0
83
Member Avatar for linsz

my name randy im IT student... in this semester i take computer network security, and i get the Feistel Cipher assignment... the lecture give the assignment is create feistel cipher program with any language... any other of you can help me with java language???? please thx

Member Avatar for tux4life
0
269
Member Avatar for weblover

hi all ..i have a problem with my project and need your help plz ... i have this code [code] int [] exp = {32,1,2,3,4,5,4,5,6,7,8,9,8,9,10,11,12,13,12,13,14,15,16,17,16,17,18,19,20,21,20,21,22,23, 24,25,24,25,26,27,28,29,28,29,30,31,32,1}; int [] expword = new int [exp.length]; String s=toenc.getText(); if(s.length() < 32) JOptionPane.showMessageDialog(null,"Word must be 32"); else{ int[] e = new int[s.length()]; for (int …

Member Avatar for weblover
0
95
Member Avatar for vishal Thakare
Member Avatar for masijade
0
82
Member Avatar for cebubinary

Im just new in java and im trying to make a program that would copy a picture from a specified folder and paste it also to a specified folder. i know how to select the picture using the filechooser and my problem is how to copy it.

Member Avatar for vishal Thakare
0
100
Member Avatar for emporio

My Question : Suppose IA--->>>An Interface void func(); A---->>>Abstract Class implementing IA void func(){} B---->>Class extending A void func(){} C---->>Class extending B void func{} Now what i am doing .... i made an Object of C class..... C c = new C(); IA ia = c; now if i want …

Member Avatar for JamesCherrill
0
93
Member Avatar for djdanjo82

Hello All! Thank you very much for viewing this thread. My problem is I am trying to pass a number value between classes/thread of the same java project in eclipse. I have a java project of 9 classes with three threads. The Display Class/Thread needs to accept a value coming …

Member Avatar for djdanjo82
0
124
Member Avatar for gotm

So I have this function that is supposed to output an object (save an object) to a .txt file. It doesn't output anything when the program comes to the point where it runs this function. I am 99% sure this is where the program hangs. [code=java] public void saveSurvey(String txtFile) …

Member Avatar for BestJewSinceJC
0
190
Member Avatar for mimsc

Hello all I have a string Im getting back from the database as follows: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') I need to break it down and drop into an array 'MCKINNEY','TX' 'ALLEN','TX' 'ANNA','TX' ..normally I get multiple records and just drop the resultSet into a Vector and do "elementAt(i)" to display, but I never …

Member Avatar for ~s.o.s~
0
162
Member Avatar for mimsc

Thanx for the help yesterday..I was able to break down the string from my database: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') using: [code] String strInput = userData.getMhtCityList(); String strProcess=null; String strOutputs[]=null; if(strInput!=null){ strProcess=strInput.substring(1,strInput.length()-1); System.out.println(strProcess); strOutputs=strProcess.split("\'\\),\\(\'"); } [/code] worked like a charm only problem now is those damn apostophies 'MCKINNEY','TX ALLEN','TX ANNA','TX' any suggestions on stripping …

Member Avatar for mimsc
0
120
Member Avatar for peter_budo

I'm looking forward to learn Core Spring and Hibernate. Which books would you recommend and some good online resources (beside their websites)?

Member Avatar for peter_budo
0
154
Member Avatar for kuay

[code] public class Caesar01 { public static void main(String[] args) { String str = "NS BFW, JAJSYX TK NRUTWYFSHJ FWJ YMJ WJXZQY TK YWNANFQ HFZXJX"; int key = 5; String encrypted = encrypt(str, key); System.out.println(encrypted); } public static String encrypt(String str, int key) { String encrypted = " "; for(int …

Member Avatar for ~s.o.s~
0
131
Member Avatar for joshmo

have been, for the past few weeks trying to figure out how I can compare images. From my experience in what I have been working on, I know it is almost impossible to compare two images and get a 100% match but I am not looking for a 100% match …

Member Avatar for Ezzaral
0
232

The End.