32,199 Topics

Member Avatar for
Member Avatar for Guru.M

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

Member Avatar for Madawar
0
74
Member Avatar for zigana91

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 …

Member Avatar for naziatarannum
0
97
Member Avatar for Guru.M
Member Avatar for jwenting
0
19
Member Avatar for gymangel812

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 …

Member Avatar for JamesCherrill
0
106
Member Avatar for kesh1000

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 …

Member Avatar for kesh1000
0
938
Member Avatar for Stefano Mtangoo

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 :)

Member Avatar for Stefano Mtangoo
0
90
Member Avatar for Virux

[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 …

Member Avatar for javaAddict
0
106
Member Avatar for ceyesuma

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] …

Member Avatar for ceyesuma
0
132
Member Avatar for GökhanBarış

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? :)

Member Avatar for necman
0
763
Member Avatar for George2

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

Member Avatar for mayne
0
558
Member Avatar for Stefano Mtangoo

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!

Member Avatar for Stefano Mtangoo
0
70
Member Avatar for valatharv

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 …

Member Avatar for jwenting
0
115
Member Avatar for Adhoc82

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 …

Member Avatar for Adhoc82
0
8K
Member Avatar for klactose

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: …

Member Avatar for ~s.o.s~
0
255
Member Avatar for xx_kandikidd_xx

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 …

0
94
Member Avatar for lich

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 …

Member Avatar for JamesCherrill
0
159
Member Avatar for dhruv.mani

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..

Member Avatar for stultuske
-1
43
Member Avatar for johnnydarten

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 …

0
80
Member Avatar for kesh1000

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 …

Member Avatar for kesh1000
0
188
Member Avatar for lich

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 …

Member Avatar for JamesCherrill
0
165
Member Avatar for Mr. Blank

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 …

Member Avatar for Mr. Blank
0
92
Member Avatar for sfrider0

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 …

Member Avatar for sfrider0
0
125
Member Avatar for HaveFun

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() { …

Member Avatar for Abdel_eid
0
125
Member Avatar for ceyesuma

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 …

Member Avatar for ~s.o.s~
0
157
Member Avatar for gunnarflax

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!

0
78
Member Avatar for gunnarflax

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 …

Member Avatar for gunnarflax
0
216
Member Avatar for Imani

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 …

Member Avatar for Stefano Mtangoo
0
84
Member Avatar for dhruv.mani

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..

Member Avatar for jwenting
0
89
Member Avatar for becdudek

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 …

Member Avatar for becdudek
0
100
Member Avatar for ceyesuma

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 { …

Member Avatar for Abdel_eid
0
77

The End.