35,617 Topics
![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
I want to store the results generated out of SQL query into excel file ... how do I go about doing it? help | |
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? | |
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. | |
Hi guys.., Is any one knows how to print barcode using java code? | |
| |
what is the difference between arrays and strings at java? | |
[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++) { … | |
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 … | |
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: | |
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 … | |
[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. … | |
Can any one pls help me to know any real time example for Static polymorphism Dynamic polymorphism | |
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 … | |
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. | |
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 { … | |
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 … | |
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 … | |
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 … | |
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() { … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … |
The End.