32,204 Topics

Member Avatar for
Member Avatar for Banderson

Hi, This will show you how to create a login form using swing. Please be aware that this form does not connect to anything. ( eg. A URL or a database) This is just a little advanced example of one of the many things you can do in swing. A …

Member Avatar for masijade
1
2K
Member Avatar for Merosansar

The form consist of three textfields and two buttons(add and show buttons). User enters the candidate first name and last name and the respective number of votes received in textfields.On clicking the add button the candidate object is created and the candidate object is added to the arraylist object. On …

Member Avatar for javaAddict
0
101
Member Avatar for dua khan

Hiz every1. i m beginer, i have to make a program of PERFORMANCE APPRAISAL. Please any1 can help from where should i take start .. Waiting for your replies

Member Avatar for masijade
0
52
Member Avatar for kring08
Member Avatar for javaAddict
1
195
Member Avatar for thariqrasheed

Please explain about the Right and Left shift operators in java.. I am new to programming concepts.. So please explain me with examples.. Thank you

Member Avatar for mrnutty
0
108
Member Avatar for sdzahed

Hi, Iam very new to XSLT and XML. I am trying to invoke a javascript function from inside my xslt documen. The javascript snippet is as follows: [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:js="urn:custom-javascript" exclude-result-prefixes="msxsl js" > <msxsl:script language = "JavaScript" implements-prefix = "js"> <![CDATA[ function compareCsvs (firstString,secondString) { var firstArray=firstString.split(","); …

Member Avatar for sdzahed
0
204
Member Avatar for Shmoil

Hello, I have a school assignment to build a 2 minute countdown timer in java. Gunjannigam managed to assist me in creating the functions. My code for secondCount, I have built a function so that I can adjust secondCount to a number and it will change the timer. When secondCount …

Member Avatar for Shmoil
0
226
Member Avatar for mahm240

i made a web service in netbean and now i want to monitor the request made to use this service from client side. now how i embed http monitor activity into this web service to check the requests.

0
99
Member Avatar for Compudog

Having problem networking two computers with a game I designed. I am using java, i have written a file that will comunicate with the server as its own thread, and it works fine with the server application when run on its own. However, when i run the client thread within …

Member Avatar for Salem
0
75
Member Avatar for dwrakh
Member Avatar for stephen84s
-2
73
Member Avatar for gramatton

Ok, I got the assignment from my CompSci teacher to write a program that converts a string of an infix operation to a postfix one and it has to use a list and stack. The class that we have to write, Postfix, has to include a conversion, parsing, clear, and …

Member Avatar for joseph111
0
138
Member Avatar for musthafa.aj

HELLO ! first i shown all records in jtable ... after i process(read from it and insert into DB) one record at a time.. while processing i need that particular row in yellow color... if the row completed (inserted in DB) THEN the row become GREEN.. HOW TO DO...I TRIED …

Member Avatar for javaAddict
0
98
Member Avatar for musthafa.aj

hello! i need to create JTable which swing string and animated gif image also... how to put animated gif and data(string) in Jtable cell dynamically... can you give any referel link or codes... i tried lot but vain...

Member Avatar for musthafa.aj
0
907
Member Avatar for ramjeev

Hi friends, This is regarding synchronization in Thread. If a block or method is synchronized, which object is said to be synchronization?

Member Avatar for ramjeev
0
91
Member Avatar for StarZ

HI there, so my program so far only has buttons... can someone modify my program so when i press a button there will be another popup page, and so on? thanks ! p.s. my program right now only has buttons but the buttons does not do/go anywhere. [code]import javax.swing.*; import …

Member Avatar for gunjannigam
0
294
Member Avatar for dj3hac

I'm having some trouble with this. Since I'm manipulating files I SHOULD already know how to do this... however I do not. I have searched the internet and could find nothing that helps :( When a username is specified by using the -u switch the username should be saved to …

Member Avatar for musthafa.aj
0
104
Member Avatar for Makoto1981

HI, I am studying java, and I am trying to input a value into, then It goes to a for loop. I did the for loop part. but I am having a hard time on the input. thanks

Member Avatar for musthafa.aj
0
82
Member Avatar for adams161

hi, i have an array of JTextPane's. console 0 uses array[0] jtextpane to see their chat. console 1 uses array[1] jtextpane etc. up to them how many jtextpanes they use/consoles they create/open. they can move different chat channels to different consoles or have all channels go to one. lets say …

Member Avatar for adams161
0
151
Member Avatar for lardshow

Hi all please can someone help? i have to create an exception class (which i think i've done) and then throw it from some helper methods. i've tried allsorts to get this exception to work, and i just cant see what i'm doing wrong.... as this is an assignment i …

Member Avatar for JamesCherrill
0
106
Member Avatar for K?!

I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?!

Member Avatar for wrivera
0
178
Member Avatar for JPDobner

Hi, My code compiles and runs but the GUI will not display. I have tinkered with it but cannot get it to come up. Someone said I may be miscalling my GUI in this code, help? Thank you. [CODE]import javax.swing.*; import java.awt.event.*; public class Application_MainRunInv extends JFrame { private JTextArea …

Member Avatar for JamesCherrill
0
117
Member Avatar for hasanabada
Member Avatar for Salem
0
44
Member Avatar for m_sam6
Member Avatar for AbhikGhosh
0
3K
Member Avatar for sleaze

Im currently working on a project where i need to read a text file containing a list of users and let it be stored in a database. Here is my text file: headers(ID number, LastName, FirstName, MiddleInitial,Course and Year): 2070939 Carter, Billy Joe K. BSIT 4 2070123 Daniel, Michael Ericson …

Member Avatar for ~s.o.s~
0
185
Member Avatar for OzY360

I'm having trouble getting the program to loop back to the menu once I have created a new computer/customer. Once I figure it out I can do it for all the functions in the menu. This program is not yet complete but any guidance as to why my program won't …

Member Avatar for OzY360
0
1K
Member Avatar for beforetheyknew

Hi guys just wanted some clarification on two issues. Nested Loops, I just want to clarify how i should read these for example: [CODE] public void nestedForLoop() { int i = 0; int j = 0; for (i = 0; i < 10; i++) { for (j = 0; j …

Member Avatar for darkagn
0
110
Member Avatar for beforetheyknew

Hi guys do you know of any sites where i can go through some java questions in preparation for a java exam. In the sort of style for example where you are provided a for loop and which isn't in the normal format and then asks you what would x …

Member Avatar for beforetheyknew
0
100
Member Avatar for mostafanageeb

I am now making the huffman algorithm. I have generated the tree but I cannot generate the codes.. please if anyone can help tell me how? [B]This is the class Node[/B] [CODE] public class Node { private Node left=null; private Node right = null; private Node parent = null; boolean …

Member Avatar for hasanabada
0
107
Member Avatar for gingerfish

hello guys, could you please explain me when do we use these: int[][], double[][], float[][]? i mean, why there are two brackets "[]"? thanks

Member Avatar for gingerfish
0
61
Member Avatar for phid2002

I atached the image with the webpage, do anybody knows how to do to show an advertise like in the photo after the page has been loaded, let's say after a few seconds, it seems similar to the lightbox.js but it's diferent. Can somebody help me with some ideeas ? …

Member Avatar for Phaelax
0
65

The End.