32,199 Topics
| |
hai have designed calc application but iam not geting how to get the clicked number shoud present in the text field how to do arithmetic operation iam beginer of java please can help | |
I'm working on trying to fix the errors that I have in my coding. The first error I am having is with the import lines i.e., import dot java dot text dot asterisk semicolon The message I am getting is <identifier> expected. What do they mean? I am very new … | |
I'm trying to create a class that provides object serialization and deserialization methods for use by another class. These two methods (I think) are in the class already (see code below). I'm not sure how I would go about making those 2 methods their own class and then returning the … | |
hi everyone i had been working on a project using random files (.dat) and now i want to change it to use a database instead. the thing is my project is quite long and it would be a hassle to go and change code. i had used hash tables to … | |
I want to use JDBC with apache's pooling library. I can't find easy tutorial/example to follow. Please help me get it up and running. I have it downloaded and I watch at it puzzled :) | |
[code] public class A { String username = "Unknown"; public A() { username = "Virux"; B.method(); } } public class B extends A { public void method() { System.out.println(super.username); } } [/code] Obviously my actual code is much more complex than this. But how can I get B to see … | |
Hello When I login as instructor data from db is put into the model (Instructor.java) because the instrutorBean extends the model Intructor.java Is this copy(object sourc, object dest) doing anything? I would like to be able to have several people logged in at the same time is this possible? [code] … | |
Hi everyone, I used to create shortcuts with IWshRuntimeLibrary in C#, but now i am trying to create in java, which i couldn't found via googling. Can anyone show me the shortcut path of wisdom and illumination? :) | |
Hello everyone, My application needs a feature to detect whether a directed graph contains circle. Does anyone know any efficient implementation? Which implementation is the best (most efficient)? thanks in advance & happy new year, George | |
Hi there, Is there anyone here using NB platform to develop applications? Anyone using former Matisse GUI builder in NB 6.8? I can't see it in my IDE! | |
Hi, I am not sure if this the right forum... Please suggest on what should be the best design practice for running 10 instances of desktop based java applications (No Enterprise or Webcomponents) on different machines BUT still using the same database. Summary: a) Each application will do writes/updates to … | |
Hello, I'm having problems passing an ArrayList from a method in one class into a method of another class and accessing it. Here's my code. [CODE]private static void createData() throws IOException{ ArrayList<movie> moviesList = new ArrayList<movie>(); moviesList.add(new movie(1, "Schindler's List", 18, 19.99)); moviesList.add(new movie(2, "Red Cliff Blu-Ray", 4, 43.50)); moviesList.add(new … | |
Hello all, I have been working on a project in scala, but I am getting some error messages that I don't quite understand. The classes that I am working with are relatively simple. For example: [CODE=scala] abstract class Shape case class Point(x: Int, y: Int) extends Shape case class Polygon(points: … | |
Hi, I'm having trouble with my Java code. It's meant to read in from a csv file and update the elements on the GUI to reflect this e.g. as it reads in one line, images and text appear on the GUI reflecting the data. Anyway, to get the GUI to … | |
im my java SE application i have a messagebox prompting asking the user to press OK. i want to make the user wait a certain time and the messagebox will automatically close in a certain time. i read on swing.timer about this. but im bit confused with the implementation. how … | |
hi ..spandanagella, i'm working on a project to develope a crawler using concepts of web mining.. i'm trying to implement an algorithm on java.. | |
I need to develop J2me (Midlet for graduation project)...I installed Java ME SDK 3.0 after installing JDK 6.0 I was running Java ME SDK 3.0 and I faced some errors: An error: A java.io.IOException exception has occurred java.net.ConnectException:connection refused This error keeps poping up 100 times+ while the Java ME … | |
hi everyone. i get this error in my porject at runtime.actualy it was working fine. i added the jdbc jar to my project and here what i get at runtime [QUOTE]java.lang.NoClassDefFoundError: de/vogella/mysql/first/test/Main Caused by: java.lang.ClassNotFoundException: de.vogella.mysql.first.test.Main at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown … | |
i want to use google map api for my desktop application. the application will be totally connected to internet. while i was searching some research notes about this implementation. i found a ideal site with the configurations. but it has some java files to be downloaded. but when i tried … | |
Hi, I have a button with an image in it. When I reduced the width of the button, the image was centered in the button which I do not want to happen. I want it to be left-aligned in the button but have no idea how and searching hasn't yielded … | |
I found an application that gets the source from a webpage. That worked fine. I tried converting it to an applet, and it works great in netbeans. The problem is when I try to run it in a browser, it does nothing. As you can see from the code, I … | |
Hi, I have difficulties to get variable from other class. See class Mod01 and Mod02 below, in class Mod02 I will get ct1=0, but I want ct1=250. Any help will be gratefully. Thank you. --------------------------------------- [code] final class Mod01 extends FullScreen { int ct,coba; String hits; [B][COLOR="Red"]public int test() { … | |
I am having a proplem checking the stu_uid for a specified stu_password. I am not really sure what error is. When I build the db for the first time and login as a student it says that unknown user name but it is all in the table and passed to … | |
Hi! I have a JTable which I've put some cell padding on with setIntercellSpacing(), the problem is when I select the row the background gets blue except the area of the padding, it remains white. I just doesn't look good. What shall I do to fix it? Thanks in advance! | |
Hi! I'm a java rookie and I'm trying to learn how to read and write to xml documents. I have a xml-file called tasklist which lies directly in the src directory, at the same level as the executing program but I get the following error: java.io.FileNotFoundException: tasklist.xml (Det går inte … | |
Hi Guys, I really need your help. I'm looking for suggestions on what kind of applications I can make as my semester project. I don't care in which language you can tell me, I'll just reason with it and make sure it works in Java. This Project is one of … | |
hey !! i am working on a project for development of dynamic crawler .. can anyone help me out ?? suggest me some code for implementing it and ebooks.. | |
Hey, im getting the following error unreported exception Exceptions.IllegalValue; must be caught or declared to be thrown this is my method where im getting the error and i want to know why im getting this error because i declared that the exception was to be thrown. is it something to … | |
Hello both of these methods compile. Howerver, Are these two methods the same? or does one offer something more? [b]method 1[/b] [code] public AdminDAO getAdminDAO() { return new ConnectAdminDAO(); } [/code] [b]method 2 [i]note:getXMLResource() returns: <entry key="adminDAO">model.dao.ConnectAdminDAO</entry>[/i][/b] [code] public synchronized static AdminDAO getAdminUserDAO() throws ClassNotFoundException, InstantiationException, IllegalAccessException, FileNotFoundException, IOException { … |
The End.