35,618 Topics

Member Avatar for
Member Avatar for NycNessyness

Hello guys. I'm having a bit of difficulty with adding totals. I know how it's suppose to work but I'm not seeing what I'm doing wrong. If I want to add my total each time I hit the total button how can I do it. When I try to add …

Member Avatar for NycNessyness
0
96
Member Avatar for nsuleiman

Hi all Can anybody help me how to set time in SuperWaba so that an action is done after some millisecond or sometime. Thank you.

0
90
Member Avatar for TheWhite

I'm trying to add a KeyListener to my JFrame, but it doesn't seem to work when I have a JButton floating around [code=Java]import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; import javax.swing.SwingUtilities; public class Testing extends JFrame implements KeyListener{ public static void main(String[] args){ SwingUtilities.invokeLater(new Runnable() { public void run(){ new Testing(); …

Member Avatar for TheWhite
0
1K
Member Avatar for tactfulsaint

Please everyone i need some help here, why do i keep getting this error . i want the informations submited to the database. C:\RMI\Client>javac *.java CustomerInformation.java:121: ';' expected String insertDetails(cid, name, dob, cms, address, city, state , zcode , cnum, nod); ^

Member Avatar for Ezzaral
0
62
Member Avatar for ashish1234

hi, i am doing a project in jsp.and i am new in this .As a part of it i have to take some reports.i can use either crystal report or ireport.My roblems is that i installed both reports in my system and dont know how to proceed.I can connect the …

Member Avatar for ashish1234
0
112
Member Avatar for ceyesuma

There are elements in this code I would like for someone explain if possible. Please. _int(); and the ? and the : in the code [icode] throw e instanceof FacesException ? (FacesException) e : new FacesException(e);[/icode] [code] public void init() { // Perform initializations inherited from our superclass super.init(); try …

Member Avatar for ceyesuma
0
86
Member Avatar for D boss

hi guys, i have created a class which has a couple of buttons and each button calls a public class, class B4 is a button and it calls up the Printdata class, the Printdata class, then gets data from the database carpark and stores it into a file.txt as B4 …

Member Avatar for D boss
0
114
Member Avatar for MonkeyGarage

I get the following when attempting to view a project I have, I have MySQL 5.0 and Tomcat 6.0. Both services are running. As far as MySQL connectors, I have both "mysql-connector-java-5.0.7-bin" and "mysql-connector-java-3.0.8-stable-bin". This has not worked with either one. HTTP Status 500 - type Exception report message description …

Member Avatar for dnanetwork
0
156
Member Avatar for regent_royal

Hi, friends I want to disable copy (Ctrl + C) in JEditorPane in Java.. I used text/html as our requirment so that right click of mouse is disable but it can't effect on Ctrl+c. So, Help me.

0
63
Member Avatar for keshari

Hey All Me getting a frustating problem while making the webservice using Eclipse, jdk1.6.0_03,and Tomcat-5.0. The overall scenario is like this.There is a class “WsEpp” of which I have to make webservice.”WsEpp” class is using the object of another class “EppService”, and if certain conditions will be fullfill then “EppService” …

0
52
Member Avatar for cbalu

Hi folks, Today i noticed two strange behaviour in swing. [B][I]Case 1:[/I][/B] Normally for every key events we used to get one keyPress and one keyRelease events.But this is not of the case with [B][COLOR="Red"]PrintScreen[/COLOR][/B] key. I tested this behaviour on the JNLP file used in java tutorial at this …

0
73
Member Avatar for alpe gulay

..I just want to have some answers about it.. -is posible that we can put a windows media player in our java program?? if yes, can anyone give some info on how could I do it.. or even the bets site tutorial on how to do it... -tnx

Member Avatar for jwenting
0
66
Member Avatar for BiNO

Hi I have Borland Jbuilder 2006 Enterprise installed on a Microsoft Windows Vista Home Premium OS. I was trying to make the font bigger (in the preferences menu) but something happened and now the font is very small, too small to even click on a button. (I'm not talking about …

Member Avatar for BiNO
0
88
Member Avatar for NycNessyness

Hello once again everyone. I would like to know if anyone could assist me on how to insert text from a JFormattedTextField and an item from a JComboBox and place them into a JTextPane. If the user enters an item name like Shoe in the JFormattedTextField and then selects an …

Member Avatar for NycNessyness
0
137
Member Avatar for ceyesuma
0
62
Member Avatar for Ajuddy
Member Avatar for jwenting
0
63
Member Avatar for dophine

Hi all, there is a JTable and the cell in one column is set to button by set a customize cell render. However, the size of the button occupies the whole cell region that is not what I want. How can I set fix size to it? Thanks

Member Avatar for Ezzaral
0
125
Member Avatar for shobha1335

Im developing a Issue Tracker Application in struts,I have one link 'view issue' which displays all the issues as a report, for each record one update link will be there, if we click on update link it has to go to that particular record page with details from the database. …

Member Avatar for shobha1335
0
139
Member Avatar for LevelSix

Question: Write a program that draws a clock face with a time that the user enters in two text fields (one for the hours, one for the minutes). I have Followed my example code, and come up with 3 classes. Clock, which sets the outines for drawing clock objects, ClockViewerFrame …

Member Avatar for LevelSix
0
141
Member Avatar for ceyesuma
Member Avatar for ceyesuma
0
149
Member Avatar for coderboy

I was wondering if I can get some guidance on the following questions. ___________________________________________________________________________ Write a text menu-based program to allow a user to continually select from the following options: a. Store up to a maximum of 20 integers in an array. Enter numbers until the sentinel value - 99 …

Member Avatar for jasimp
0
64
Member Avatar for NycNessyness

Hello. I asked last week about how to allow the user to only enter in letters. I tried the mask formatter but that's too limited. How can I go about letting the user to enter in any kind of letters they want but restricted to only 25 letters for their …

Member Avatar for Ezzaral
0
118
Member Avatar for Swetadri

hi all, I have a website.In that website, that site basically takes collect rss feeds depending on user's choice and convert it to audio.Now, I want to add an functionality in website. I want to add one form in which user will give their google-reader username and password.I have to …

0
49
Member Avatar for ceyesuma

I created a nbproject,webapplication,visual web java Server Faces Glashfish,deployed it.(netbeans6.1) I have written a couple of them and they do not show up in a browser. Below is the one I just started. Can someone explain what needs to be done to run this in a browser? [code] <%-- Document …

Member Avatar for ceyesuma
0
175
Member Avatar for quickfingers

Hi, in many sites i see scroller in flash, it scrolls without pressing a button or mouseover to any button. It scrolls inside in a box.With mouse movement it scrolls to left or right. It will scroll any div content.I searched all of internet but result is empty :(..Anybody have …

Member Avatar for quickfingers
0
59
Member Avatar for mandar2886
Member Avatar for jwenting
0
238
Member Avatar for 9107you

[code] public class IamCanadian { public static void main (String[] args) { // create an object, and IamCanadian canEng = new IamCanadian (); // while the user does not enter "quit" as a sentence: // get a string from the user System.out.println ("enter a American English"); String ameEng = ReadLib.readString …

Member Avatar for Ezzaral
0
158
Member Avatar for slayman89

We are having an issue with Host-On-Demand crashing on certain computers, what will happen is you launch the program and it goes through all the load up but then just shuts itself off. I have run the program on other computers using the same windows image with SP3 and on …

0
57
Member Avatar for hezfast2

I'm writing a program that takes an input string and gets the length and/or gets the number of vowels and consonants in the string. I've gotten it working except for consideration of spaces (which are allowed) and error checking for input other than letters. Here is what I've got so …

Member Avatar for hezfast2
0
111
Member Avatar for roadrage75

Hello all, im rather confused about what's wrong with my code.... it says non-static method add(E) cannot be referenced from a static context, yet i can't see any reference to a static context.... here is my code; thanks in advance! import java.util.*; public class person { public String name[]; public …

Member Avatar for javaAddict
0
155

The End.