32,199 Topics

Member Avatar for
Member Avatar for Unbidden Ghost

Hi Does anybody out there know of some open source projects that uses Java and would be happy to accept another developer? I am busy with a skills upgrade effort (not to mention that I am looking to build my Java knowledge). Right now I am learning design patterns and …

Member Avatar for ~s.o.s~
0
157
Member Avatar for anju soosan

i'm anju soosan i need a topic for doing miniproject in java(web application)

Member Avatar for stephen84s
-1
87
Member Avatar for gabhinav31
Member Avatar for joe'g

hi am trying to code a program that uses a panel that has a functional calculator in it, and the calculator can be re-sized using a slider. here is my code please help me out import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; public class CalcInSlider extends JPanel{ JSlider slider; …

Member Avatar for NormR1
0
123
Member Avatar for joe'g

am trying to make a menu with a frame en its not working. and how can i introduce multiple panels in the same frame? here is my code. import java.awt.*; import javax.awt.event.*; import javax.swing.*; public class FrameMenu extends Jframe{ private final Color colorValues[]={Color.YELLOW,Color.RED,Color.BLUE,Color.GREEN}; private final Color colorValues2[]={Color.GRAY,Color.CYAN,Color.MAGENTA,Color.WHITE}; private RadioButtonMenuItem colorItems[];//color …

Member Avatar for Jayavardhan
0
108
Member Avatar for abbasiftt

Please help in doing a very small project (mini project) in Java/SQL. Your quick response is highly appreciated. Thanks Muhammed Asif

Member Avatar for NormR1
0
102
Member Avatar for dupowdis

So basically I have this file that my program needs to open called "outfile.txt" and "fort.20.txt". In windows, I have the file located at the root of the C:\\ drive, and the program compiles perfectly. My program goes to the directory like this: [CODE] File textfile1 = new File("C:\\outfile.txt"); File …

Member Avatar for dupowdis
0
124
Member Avatar for pankajagar2002

digester is an open source apache framework to converstion XML -> java JDO. is it possible to use it vice versa. i mean can i use digester to convert java object into xml with the same configuration file. Thanks in advance

0
83
Member Avatar for pankajagar2002

Hello, i am using the digester to parse my xml into objects. I am getting the following error. could anyone pleaee help me to solve the problem . java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:874) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:460) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:189) at org.apache.commons.digester.Digester.endElement(Digester.java:1332) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at …

Member Avatar for pankajagar2002
0
860
Member Avatar for har58

hi i hv one public class admins in one java file and i hv another public class login in another java file both files are in same folder login. i want to use admins class in login class. How can i do it,,? >> extending cannot be possible because both …

Member Avatar for Darryl.Burke
0
147
Member Avatar for joe'g

am trying to make a menu with a frame en its not working. and how can i introduce multiple panels in the same frame? here is my code. [CODE]import java.awt.*; import javax.awt.event.*; import javax.swing.*; public class FrameMenu extends Jframe{ private final Color colorValues[]={Color.YELLOW,Color.RED,Color.BLUE,Color.GREEN}; private final Color colorValues2[]={Color.GRAY,Color.CYAN,Color.MAGENTA,Color.WHITE}; private RadioButtonMenuItem colorItems[];//color …

Member Avatar for stephen84s
0
130
Member Avatar for prashantharbola

hi, i am trying to use modem to dial phone,i am able to do it but after some time i get tones like dtmf tones on the receiver phone,i am using javax.comm package for serial communication,i think some additional AT commands other than "ATA " is to be used but …

Member Avatar for prashantharbola
0
208
Member Avatar for kerek2

I'm already build this program but get error...anyone can check for me?..tq [CODE] public class Clock { private int hour; private int minute; private int second; public Clock (int hour, int minute, int second) { this.hour = hour; this.minute = minute; this.second = second; } public Clock (Int hour, int …

Member Avatar for vee_liang
0
91
Member Avatar for har58

hi,i m getting the following excption,though i hv properly set the classpath ,,, i m able to rum other programs,,,, plz help,,, [CODE] Exception in thread "main" java.lang.NoClassDefFoundError: admins (wrong name: a dmins/admins) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 1) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at …

Member Avatar for stephen84s
0
1K
Member Avatar for 29ashishagre

[CODE]How to use dos command in java program , i want to build new java explorer for my existing window because the look and feel of java is tremendous...[/CODE]

Member Avatar for masijade
0
71
Member Avatar for P00dle

Would Java be able to .rename() a file while it is still being written, or will it detect that the file is in use? Also, is it possible to open a file for exclusive access in Java, and will this fail if the file is still being written? Thanks.

Member Avatar for P00dle
0
107
Member Avatar for ashwiniku

I have two ArrayLists that each contain a list of unique String objects.I am trying to count the number of words that are common between both lists, [B]E.G [/B] have one list that contains the words,("house", "cat", "broom", "car", "chair"), and 2nd list have ,("house", "cat") i want the output …

Member Avatar for jon.kiparsky
0
600
Member Avatar for jemz

hello can you help me how i can catch the exception... I want to input integer for my array and i want to catch the exception if i will input a string this will display Invalid input how can i use this in try catch because i am confuse please …

Member Avatar for jemz
0
440
Member Avatar for dupowdis

So basically, I have this GUI program. I can run it, and it displays a graph of some data. The thing is, I want to put this program inside of JFramebuilder, and make changes to it. I dont know if it is even possible, but I figured if I opened …

Member Avatar for pi_lord12
0
135
Member Avatar for pi_lord12

I am working my way through an online book--Intro to Java Programming by David Eck--and in it he says that it is generally considered bad style to use the getGraphics() method to draw outside of a component's paintComponent method. Does anyone know why this is?

Member Avatar for pi_lord12
-1
142
Member Avatar for adams161

Hi, I had to wipe a computer and reinstall the operating system and eclipse. i had backed up two of my projects in my working folder for eclipse. i copied those project folder into my new working eclipse folder, but i can't seem to open them. Open project is grayed …

Member Avatar for adams161
0
125
Member Avatar for zeah

Hi All, I was trying to implement highlighter in my search engine. I was able to implement the highlighter but the problem is it does not always work. Sometimes it highlight and sometimes it doesnt though lucene returns the file where the term was found. I can manually see the …

0
89
Member Avatar for edup_pt

Hi, I wonder how can access to a static method of a class called width from another object that has an attribute called width too: ex: [CODE] public class width{ private int test; public static int testValue(){ return this.test; } } public class Rect{ private int width; private int height; …

Member Avatar for edup_pt
0
116
Member Avatar for qwerty53

Hi, I am looking for an infrastructure like JCE in java so I can “install” encryption providers. The one I am going to put in now is Bouncy Castle provider and use “PBEWITHMD5AND256BITAES-CBC-OPENSSL” but I want to be able to change the providers and algorithms just by configuration change. I …

0
22
Member Avatar for tropico

Hello, Say I have an abstract class Connection to represent some kind of connection that can be executed and then return some kind of result. My problem is that the result returned by each connection varies (String, byte[], some other class, etc...). This results in additional logic that seems like …

Member Avatar for ~s.o.s~
0
103
Member Avatar for aryowap

How to change this applet to swing? [CODE]import java.applet.Applet; import java.awt.*; import java.io.PrintStream; public class Hounds extends Applet { public String getAppletInfo() { return "Hare and Hounds"; } public String[][] getParameterInfo() { return parameterInfo; } public void init() { String s = getParameter("bgColor"); try { BG_COLOR = s != null …

Member Avatar for jon.kiparsky
0
188
Member Avatar for iamacup

How to listen for key presses that are not on a focused window Ok, so my problem is I have a tray application written in java and I want to apply some user configurable hotkeys. User presses F10 for instance and something happens... I started to google for key loggers …

0
28
Member Avatar for beanboy

I'm a computer graduate, working on java programming since an year.I'm just writing programs all the time and didnot get a chance to implement any of the engineering practices that I have studied at college. Now I've got a month free time and tell me some interesting things I could …

Member Avatar for WargRider
0
104
Member Avatar for Sunshineserene

[CODE] package com.ibm.compbio; public abstract class DynamicProgramming { private Cell prevCell; private int score; private int row; private int col; protected String sequence1; protected String sequence2; protected Cell[][] scoreTable; protected boolean tableIsFilledIn; protected boolean isInitialized; public Cell(int row, int col) { this.row = row; this.col = col; } /** * …

Member Avatar for WargRider
0
216
Member Avatar for rlhh

[CODE]package ATM; // ATM.java import javax.swing.*; public class ATM { private boolean userAuthenticated; // user authentication private int currentAccountNumber; // current account number private Screen screen; // JOptionPane (pop-up(s)) private CashDispenser cashDispenser; // virtual cash dispenser private DepositSlot depositSlot; // virtual deposit slot private BankDatabase bankDatabase; // account database private …

Member Avatar for rlhh
0
2K

The End.