35,618 Topics

Member Avatar for
Member Avatar for cozmo87

Hi everyone, I'm writing a program that reads numbers from a text file, stores them in a table, does calculations on the numbers and displays the result in a jTable. The scanner reads the numbers as doubles and stores them in an ArrayList. My tablemodel is very similar to the …

Member Avatar for Zetlin
0
175
Member Avatar for baby_c

Hey dear Friends... I'm developing a code for an assignment given that find a solution for a modified Dining philosophers problem.. For that problem I had to create four classes. [ICODE]Philosopher[/ICODE] , [ICODE]chopStick[/ICODE] , [ICODE]samllBowl [/ICODE] and [ICODE]bigBowl[/ICODE].. I implemented the class [ICODE]philosopher[/ICODE] as Runnable.. And the problem is this.. …

Member Avatar for baby_c
0
168
Member Avatar for sirlink99

I am attempting to make a chatroom as my first program that communicates between computers. I am having trouble setting up the Server Socket Though. My program stops when it tries to set up. Here are my variables [CODE] private JTextField textArea; private ServerSocket servSock; private Socket sock; private BufferedReader …

Member Avatar for NormR1
0
222
Member Avatar for stevanity

Im not asking for home work help .I need a guide.. My teacher gave a huge project work for me. I have to develop an application that maintains basic info about all students in my college (every department and IV batches in each department). And I need to maintain their …

Member Avatar for stevanity
0
383
Member Avatar for pradeesh.login

shall we extend abstract class in other methods?????, pls explain me with an clearcut example

Member Avatar for stultuske
0
48
Member Avatar for Majestics

How to open already present text file... So user can see the data in that file... I dont mean FileInput or OutputStream open.

Member Avatar for peter_budo
0
87
Member Avatar for Majestics

Deal all, i am new to reports , i tried BIRT,JASPER,Crystal and oracle reports ... but i m only able to make a report in designer , how to connect to standalone application of java made in java se edition... So please tell me easy report designer because in vb …

Member Avatar for Majestics
0
87
Member Avatar for Annuate

A few friends from school and I are messing around with writing a chat server/client. We are writing it in java, and now we are at the stage where we are trying to get people unique ids and logging in. Just curious as to the best practices for handling user …

Member Avatar for stevanity
0
116
Member Avatar for nquadr

Hi I am new to .jsp programming. I wanted to create a simple web page to display some information from an access database, but unfortunately I keep getting an error that no data is found. I created a DSN source through the ODBC tool in Windows, and I feel I …

0
64
Member Avatar for a.oprea

I have made an array of JButtons arranged in a 2x3 box encased in a JPanel with GridLayout. This works fine. But i want to add a JLabel with text under this panel. Problem is that the JLabel, represented here by itemsInfo will not show, and I can't figgure it …

Member Avatar for hfx642
0
96
Member Avatar for MoZo1

So I have a component that renders very slowly. The problem is that I can only render inside the event handling thready, which shouldn't be freezed. Long ago in pascal/assembly I used backbuffer and page flipping. I've read that Java supports double buffering, but no info about thread safety. So …

Member Avatar for JamesCherrill
0
206
Member Avatar for ravi_91

iam doing a project but in my code it is not retrieving the data after the space like in data base i have " ravi teja" then in front end it is getting only "ravi" so can u suggest me the code plzzzzz

Member Avatar for ravi_91
0
132
Member Avatar for ayanbizz

How to create a simple chat application using jsp & servlets?Please provide me some ideas.What do I need to know apart from jsp and servlets?

Member Avatar for ayanbizz
0
138
Member Avatar for stevanity

I wanted to know how Java does Object Cloning. But when I read the Object.java class I saw that it was not defined in it. Im confused. I really dont know who internals of java are implemented. It would be nice if someone could help me with this.....

Member Avatar for stevanity
0
111
Member Avatar for naffan

Hi all, I've been doing some reading about calling a non static variable or method from a static context, and almost but not quite have my head around what exactly is going on. I've read the text but can't seem to put that into context, so please bare with me. …

Member Avatar for naffan
0
639
Member Avatar for funkyanki

I am a graduate in comp sci & technology.[FRESHER] I want to apply for job in IT companies, but they emphasize on knowing JAVA. I know C/C++, & I am well-verse with OOP concepts. But I dont like Java that much. I must learn this Prog. lang for getting a …

Member Avatar for funkyanki
0
153
Member Avatar for himmat.m4

Hi, everybody I am trying to access remotely application but there generates error is :- WARNING: Unable to connect to URL: [url]http://192.168.100.99:8989/PTax_PG_eBiz-PTax_eBiz_WS-context-root/PropTaxPort[/url] due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: …

0
85
Member Avatar for himmat.m4

Hi, I am wondering problem in my project. there is remotely accessing application but comes following error :- WARNING: Unable to connect to URL: [url]http://192.168.100.99:8989/PTax_PG_eBiz-PTax_eBiz_WS-context-root/PropTaxPort[/url] due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: …

0
82
Member Avatar for MagnetoM

I would like to learn java. The books listed in the previous posts seem outdated. Can anyone recommend an up to date java book. There seems to be many java versions, if that is the correct term of course, such as jdk 5, jdk 6 etc. Which one is good …

Member Avatar for sirlink99
0
111
Member Avatar for Sonny101

Hi All, I have reached the stage in my studies that I must choose an elective and I would really like your opinion on what to do as I am not 100% sure although I am leaning towards Java. So I have a choice between SCJP & SCJD or MCTS: …

Member Avatar for Tellalca
0
234
Member Avatar for Zetlin

Hello I am seeking guidance for a project that requires the use of a database. Obviously I will be programming in Java! my question really is: what is the best database that can be used with Java? My program will be a desktop application which will use the database locally, …

Member Avatar for Zetlin
0
132
Member Avatar for gyno

For quiet some time now i have been trying to get the java API library downloaded on my system but no success yet, i have tried all means possible that i know, for instance i have been to java.com, sun.java.com even to oracle.com lately but no success yet. I am …

Member Avatar for jackmaverick1
0
198
Member Avatar for lsvife

hi all.. i've been practicing mobile programming for a months and i wonder why IMPLICIT is not included in CHOICEGROUP??? I got error when i try to use it...

Member Avatar for peter_budo
0
102
Member Avatar for pankajagar2002

Hi, In my application i want to get the explain plan of all the query executed and want to log that explain plan in log file. I am planning to use the hibernate or Ibatis. Could any body help me to tell that which one support to get the explain …

Member Avatar for dayoj
0
256
Member Avatar for dzen

I have follwed the tutorial on [I]JSP database connectivity according to Model View Controller (MVC) Model 2[/I] for login servlet. I use ServletConfig servlet and init- parameters from web.xml according to the tutorial. I am using Netbeans IDE. Bu I receive this exception whan I try to use login form. …

Member Avatar for peter_budo
0
555
Member Avatar for raghujosh

I want to be able to match a HTML tag in a given string. The string could be like this [CODE]<a href = "http://learnmore.com">Learn </a>. [/CODE]I have a replace function that replaces the HTML tag with whitespace when I hard code the tag, but I want a regex pattern that …

Member Avatar for raghujosh
0
178
Member Avatar for sear899

I am starting to learn Java and I downloaded JDK but when i open java.exe or javac.exe it opens then instantly closes. Any answers?

Member Avatar for sear899
0
78
Member Avatar for Xufyan

Hello Everybody, please explain me what is pass by reference ,i know what does it mean but i could not find any of its simple example that differentiate between pass by reference and pass by value :( please help me i have spent almost 4 hours searching for it but …

Member Avatar for Zetlin
0
359
Member Avatar for ARaza110

Hi, I am working on a university project which seems a little complex for my limited knowledge. But , its about 3D Cylindrical Trees. Every cylinder in essence consists of menu items and hovering over any menu item will open up another cylinder showing further menu items. Can anyone please …

0
97
Member Avatar for caierhui

I am making a request form with a uniqe FORM NO. in order to recall the data faster. The FORM NO. is formated as follows, yyyyMMdd-000 the 000 will be incremented for every transaction made that's easy... but the problem is how to reset it back to 000 the following …

Member Avatar for javaAddict
0
314

The End.