35,617 Topics

Member Avatar for
Member Avatar for Fungus1487

i have a GUI application that needs to check that it is connected to a database every 30 - 60 secs. can this be done with java threads or do i need to look somewhere different. obviously i need the application to be fully useable whilst it is performing this.

Member Avatar for Fungus1487
0
76
Member Avatar for Fungus1487

right MS Access is balls compared to other DB's i know but im working on a project which already uses an Access DB. Now after writing the following eclipse gives me a lovely error which im yet to figure out. Googling has thrown up people with similiar problems but no …

Member Avatar for Fungus1487
0
131
Member Avatar for chio

i have this homework... i'm using a switch to offer some options for some sorting methods like bubbleSort, heapSort and some of them... what i want to do is that instead of writing the bubbleSort code in the case, just pull it from where it is... i don't know how …

Member Avatar for Rayhan Muktader
0
100
Member Avatar for ashitha

hello... i am write a programme for copy file and stores into each another file.like this way i want to copy multiple files.but the error null pointer is coming.. why the value is not displayed?I can't understand null pointer exception.. the code <%@ page language="java"%> <%@ page import="java.io.*"%> <%@ page …

Member Avatar for jwenting
0
303
Member Avatar for sujitdebnath

Hi, My self Sujit.I m working in Delhi NIC as a Software trainee.I m a newer in jsp and now i am working in a prject.In my project i have used ireport1.3.0.I already built the report with oracle jdbc driver and it is working.But i don't know how to use …

Member Avatar for jwenting
0
58
Member Avatar for Dhanesh.M

I want to store the results generated out of SQL query into excel file ... how do I go about doing it? help

Member Avatar for jwenting
0
100
Member Avatar for jetru

How would I go about making JTextField allow the user to input only numbers 0 - 9? I looked into JFormattedTextField but it doesnt seem to be what I need. Would I have to code it to check the users' input everytime? Is there a simpler way?

Member Avatar for jetru
0
88
Member Avatar for ashitha

i am trying for copied the file from a local system to another file.but it displays the null pointer exception.y the null pointer exception is coming.

Member Avatar for rgtaylor
0
340
Member Avatar for vinod_javas
Member Avatar for vinod_javas
0
105
Member Avatar for kkusankar

could i know how t create interface in java. explain simple example

0
73
Member Avatar for push
Member Avatar for push
0
111
Member Avatar for Monyet

[code=java] import java.util.Random; public class CardDeck { private String deck[] = new String[52]; private String shapes[] = {"heart", "club", "spade", "diamond"}; private String numbers[] = {"ace", "deuce", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "jack", "queen", "king"}; public void CreateDeck() { for(int s =0; s < shapes.length; s++) { …

Member Avatar for Johnbull
0
121
Member Avatar for senthil_yoga

dear friends, i am able to get a bunch of datas from select box , but while inserting into database , only one data had been getting inserted, how to insert all the datas... i will show the code, please give ur valuable suggestions <% String s1=(String)session.getAttribute("eid"); String s3[]=request.getParameterValues("language"); int …

Member Avatar for ~s.o.s~
0
105
Member Avatar for ally1002

hello, i'm studying files and streams in java from JAVA how to program - Deitel but it's so not clear,,, is there another book or a website that explains this better? i could really really use it. thanx ally:icon_biggrin:

Member Avatar for ~s.o.s~
0
78
Member Avatar for iam_rob

Hi all, I'm currently building a login page for a JSP application, I've realised that im going to need to use sessions to recall the username on the login screen for other functionality. Unfortunately i'm very new to the whole web development approach and i've tried searching for guides on …

Member Avatar for iam_rob
0
227
Member Avatar for assoora

[COLOR=#000000]Hi all,[/COLOR] [COLOR=#000000] <br>[/COLOR] [COLOR=#000000]I've a JSP page that has 2 buttons one to bring data from database via a servlet & a java Bean, and the other is a next button.[/COLOR] [COLOR=#000000][COLOR=#000000] <br>[/COLOR] [/COLOR] [COLOR=#000000]i want to show the data from the database 4 rows per a page, i.e. …

Member Avatar for jwenting
0
140
Member Avatar for msvinaykumar

Can any one pls help me to know any real time example for Static polymorphism Dynamic polymorphism

0
53
Member Avatar for LyddieFrog

I'm currently writing a program that acts as an application for a store manager, sorting, searching, reading in, etc. products. This program has two classes: one to handle the GUI and another to handle the actual calculations. I am completely done coding this, save for one requirement: I need to …

Member Avatar for LyddieFrog
0
152
Member Avatar for kahilw

I am building a speech recognition application with j2me and I am looking for a simple open source application that I can use for the interpretation. If you know of one please help.

0
72
Member Avatar for Rikardsen02754

Need help with a program that represents names The rubric is found here: [URL]ftp://ftp.aw.com/cseng/authors/lewis/jss3/HTML_Labs/ch4/Names.html[/URL] this is what I have done right now, but my lab partner and I are STUCK, any help we receive would be appreciated [code=language] // **************************************************************** // Name.java // **************************************************************** import cs1.Keyboard; public class Name { …

Member Avatar for peter_budo
0
156
Member Avatar for hbk619

Card game (again, or still). This one's got a GUI. Problem is, the draw and stick method need the total value that is made in start. So when call draw() or stick() from the actionPerformed method it needs a value or it won't compile [COLOR=red](stick(int) in game1 cannot be applied …

Member Avatar for hbk619
0
131
Member Avatar for isitintheback

No they're not mental. Well, maybe partially. It's 1:47am I'm tired as hell, but won't rest until I complete this. I know this is right in my face, and it's something stupid but I'm just not picking it up for some reason. Here's the code: [code] if(g1 == true){ total …

Member Avatar for isitintheback
0
167
Member Avatar for jk_bscomp

Gud day everyone........I just want to ask if anyone here knows how to compile java using the terminal in ubuntu if your sourcecode has many classes.. I tried already how to compile java in terminal using ubuntu like this one javac hworld.java and this command creates Begin.class(the name of the …

Member Avatar for jwenting
0
96
Member Avatar for static

Hi, I got this code from the internet and i compiled it. But i dont understand the result. Could u explain the result ? I cant figure out the output that shows 'classname@somenumbers' . thz [code=language] public class Andy { public static final Andy nd= new Andy(); private Andy() { …

Member Avatar for isitintheback
0
77
Member Avatar for beachlounger

import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Square extends JApplet { int size; public void init() { String input = JOptionPane.showInputDialog( "Enter square size:"); size = Integer.parseInt( input ); } public void squareOfCharacters( Graphics g ) { String input = JOptionPane.showInputDialog( "Enter Character:"); int y = 50, x = …

Member Avatar for Phaelax
0
89
Member Avatar for paradox814

I have been searching for a long time, and I cannot remember the name of this swing component that I attached in the image. It's the one that is captioned "Please input the...." I don't need help on how to implement it (beyond knowing the class name), I just forgot …

Member Avatar for jwenting
0
118
Member Avatar for christianthag

Hello everybody!!! I'm desperead and i want your help!!!!! I have an excersice which say's: Built a class for dates using private data.the attributes must be controlled for validness.Implement methods for print and a method which returns the difference between 2 dates.Also make a method that calculates the day of …

Member Avatar for christianthag
0
85
Member Avatar for hassanmushtaq

hi to all plz give some link of pocket pc emulator that integrate into netbean 5.5. i have download creme 4.12 which can integrate into netbean 5.5.1. but i m using Netbean 5.5. so plz tell me pocket pc emulator that integrate into neatbean 5.5 not 5.5.1. and it should …

0
68
Member Avatar for christianthag

well the problem is with the libraries.our teacher hasn't tought us how we can use them, so i find it difficult to solve the problem.i don't want complicated solutions.just something simple if it's possible.the others in my class have much more easier programmes. thanx

Member Avatar for stultuske
0
30
Member Avatar for virendra_sw

Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options …

0
99

The End.