32,199 Topics

Member Avatar for
Member Avatar for hfx642

I've been coding in Java for about six years now (personal projects only). I follow the... [I]Java, How to Program[/I] (Deitel, 5th ed.) book. For a particular project, I've coded several Record structures, each in their own class file. Is it possible to put ALL of my Record structures into …

Member Avatar for hfx642
0
426
Member Avatar for kanhakv

hello all members! i have just written a java application about menu. i got error that: cannot find symbol. could you all tell me all possible causes of this problem. i have tried to follow some of instructions on internet, but no help. thank in advance for your help. p.s: …

Member Avatar for kanhakv
0
596
Member Avatar for tracydo

Hi, So I just done this class for the semester but am still having this problem in the back of my head that I need your help to clear it out of the way. Basically, the program here about covert the Octal number to Binary number which Octal number will …

Member Avatar for NormR1
0
175
Member Avatar for ssdeep

[url]http://sparrow.ece.cmu.edu/~adrian/projects/secure-routing/ndss03.pdf[/url] I want to know if we can implement this paper entirely with java.It is a security mechanism for routing protocols---we cannot afford routers so thinking of simulating them.

Member Avatar for rubberman
0
104
Member Avatar for tracydo

@NormR1 or anyone please help, This program is to convert the input octal to output the binary in multiple number within the octal (ex: 24546, not 4 or 2 in single input)using an array. Thanks I converted it to integer, but how do I read one integer at a time …

Member Avatar for bibiki
0
467
Member Avatar for scoobie

Hi, i was wondering if anyone can help me. i am new to php and was wondering if it was possible to embed javascript in php. i was trying to get an alert/msg box up to explain an error to the user. i have written the following code <?php ............. …

Member Avatar for shridharshenoy
0
624
Member Avatar for Aepexx

Hi everyone, I've been working on this for a couple of days now. I need to make sure that an error message is given if txtname has a numerical value in it, and I also need to make sure that an error message is given if txtscore has a non-numerical …

Member Avatar for mKorbel
0
213
Member Avatar for ridif

Hi, Now i'm doing my Machine Learning job about k-NN and k-Means. I need to create graphics about my data coordinate. Basically, i don't have any idea to create this. Is there anyone can help?

Member Avatar for mKorbel
0
173
Member Avatar for tultul

Hi..! i need to make a trial period software. Do anyone knows how to do it. I have gone through many links and still searching in google, but everywhere i found only some points mentioning about the way of doing it, but no one explains about how to do it... …

Member Avatar for tultul
0
1K
Member Avatar for jet101

Hi guys, I've been working with a project that requires me to use mutiple jcombobox. I did try to relate three jcombobox but failed to show all necesarry drop-down lists. in one of my combobox I have lists of Banks (Bank1, Bank2), the other one is the list of all …

Member Avatar for jet101
0
684
Member Avatar for newbie14

Dear All, I have string where I want to get its checksum value specifically using crc-16 (modbus) in java. Any help or tutorial on how to do it? I saw some links saying lookup tables but I am not quite sure about it. Thank you.

0
75
Member Avatar for newbie14

Dear All, I have snippet of code as below. It is a listener which is waiting for the data so I use local to telnet to this program in the same machine. Nothing gets printed unless after sending the data I press enter. On the other hand if I use …

Member Avatar for newbie14
0
99
Member Avatar for bangor_boy

Hi, Trying to get this bit of code to work so that a train goes up the track, leaves the track and then a train comes down the track, leaves and then a train comes up the track and so on. Only one train is allowed to go onto the …

Member Avatar for NormR1
0
281
Member Avatar for themanman

hey i am new here i am working on a school project where i am building an applet.. i have encountered a problem i cant solve, i have 2 classes... the first class i very simple it has to methods which return an string array for table column and Object …

Member Avatar for mKorbel
0
346
Member Avatar for JJHT7439

Alright, I have the bad practice of not commenting my code very often when I write it so I'm going to try to explain what the problem is as clearly as possible. In this program I have to set up a battleship like grid of buttons. In order to determine …

0
72
Member Avatar for Amr ElGohary

please if any one has java tutorials for the beginner programmer in java (sites , vedios ,etc..)

Member Avatar for Amr ElGohary
-1
61
Member Avatar for aanders5

So I imported a project over from my school comp, and it seems to run ok, but I got these errors, and i don't know what they mean, or how I can fix them. [IMG]http://i421.photobucket.com/albums/pp296/rskom/issue.png[/IMG] Thanks for the help! -Austin

Member Avatar for kane06
0
122
Member Avatar for NipunaDK

Hello. I am New Here and This is my First Post :) I'll Start with a Question, That is I know java, But not much. And I know how to build a Program if some one tell me to make a program that calculates area of a Square and something …

Member Avatar for NipunaDK
0
179
Member Avatar for ibn_sumal

Hello guys i've been learning java for a short while and have come upon a problem which i cannot seem to solve. I have a boolean array of 11 values, now i want to prompt the user into entering the number 1 or 2. If the user enters 1 I …

Member Avatar for jon.kiparsky
0
537
Member Avatar for caswimmer2011

Hi, I'm trying to set a background image of a JFrame. I researched on google but i haven't gotten anything to work. My idea is to make monopoly with the board in the background and have the pieces move around on top of the board. Thanks in advance

Member Avatar for Ezzaral
0
110
Member Avatar for Tankadin

Hi all I am having a problem with my method in my linked list class to split linked lists into two sublists. The issue is that for some reason my first sublist has 3 more elements than the second sublist when I split a linked list with a total of …

Member Avatar for jon.kiparsky
0
158
Member Avatar for cabosun

So im setting up this gui, but im getting this Nullpointer exception: [CODE]Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at addressbook.dnDisplay.jButton1ActionPerformed(dnDisplay.java:222) at addressbook.dnDisplay.access$600(dnDisplay.java:22) at addressbook.dnDisplay$7.actionPerformed(dnDisplay.java:128) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6289) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6054) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4652) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4482) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at …

Member Avatar for jon.kiparsky
0
314
Member Avatar for ceyesuma

Below is how I set up my JFormattedTExtField. The database (derby) will take the format no prob. The db will then change the form to yyyy-MM-dd If I follow that format from begining to end the JFormatted Field will be fine. However, when a date is queried from the database …

Member Avatar for ceyesuma
0
90
Member Avatar for solomon_13000

I override the equals method in the Friends class, yet I do not see the value "Spring 2002". Rather I see the value "null" instead. Did I miss something in my code? [CODE] package com.n2n.blotter.core.junit; import java.util.*; public class Birthdays { public static void main(String[] args){ Map<Friends, String> hm = …

Member Avatar for JamesCherrill
0
146
Member Avatar for cretaros

i have encrypted some login credentials in mysql database using md5, now i want what i input as login credentials to be encrypted automatically to ease comparison with the encryption in database: This is how far i have done, no errors bt i cant login anymore [CODE]try { Class.forName("com.mysql.jdbc.Driver"); Connection …

Member Avatar for mKorbel
0
137
Member Avatar for nishaks

Hi all i want to implement cricket live streaming in to my web page. What should i do for that. From where i can purchase the video and how can i implement that in my web page, Please help me.

0
90
Member Avatar for peq

I don't know what I'm doing wrong, I've at it with trial and error for quite some time and still can't figure this one out. Here's the question and I'll add what I have so far at the bottom. Basically I have no idea how to meet these specifications with …

Member Avatar for stultuske
0
157
Member Avatar for tultul

hi! i found problem in using timers.... do anyone help me in this regard as i have no idea about it...... please.... i am sending a code which i tried but in vain. i know where the problem arises.... but cannot find any solution of solving the problem..... [CODE] package …

Member Avatar for quuba
0
2K
Member Avatar for gema002

Hi you all! I hope someone here will help me, i have workt with my java-program for 14 hours and i cant get it right. Im sure im on the right way but i cant get i all right. ok.. first i have to create a dice-class that generates random …

Member Avatar for stultuske
0
212
Member Avatar for sirlink99

is it possible to incorporate a class file that is written in applet into a JLabel in application? I know it is possible to put HTML code in a JLabel, so I copied the code from my html file created when I compile and run the applet. I put it …

Member Avatar for mKorbel
0
100

The End.