32,204 Topics
| |
All I can think is that there's something fundamentally wrong with how I programmed my GUIs. I have a program that initially displays a GUI which has 6 buttons. Each of these buttons, when clicked, displays a GUI. One of these GUIs in particular is a JTable of "Teams". Each … | |
Like a lot of people here I'm fairly new at using Java and I'm having difficulties using equals (==) statements. I need need to use the if statement to say "Do you have any data to enter?", if (input == "yes") then continue with the loop. obviously this doesn't work … | |
i am working on a calendar program how do i produce an error if the year is less than or equal to 1582 is this right it looks right to me if they entered high i want the program to continue any help me with this give me links to … | |
Hi friends, I m trying to write a program in Java to manipulate my personal collection of books. Below is the code I have writen till now. If you have some ideas? [code] package Books; import java.util.*; class Book{ private int isbn; private String title; private static int count=0; public … | |
Can any body help on mock test for java jsp struts servlet etc.. where can i attend mock test on java jsp struts servlet etc | |
How can I Introduce Javascript(?) while running xslt on xml file? I am trying to process 1 single xml file; Inside that xml file there is a <image> tag; tag not contains any information about width; I am aplying xslt on this xml. how can i calculate the width.. My … | |
Can some one help me with the sort fuction problem I am having? I do not know how to fix it. It compiles right but will not run. Here is what I have so far: [code] public int compareTo(Object p) { final Product o = (Product)p; // make it a … | |
I have the following prgoramming challenge to complete.. I am confused with a few things.. I have created the three classes which I have attached. I am struggling with the following if anyone could help i would appreciate it. - Using and passing the DAY_SHIFT and NIGHT_SHIFT - How to … | |
When i set a internal frame to visible i get Java Result: 1073807364 as the output. The systems hangs and will have to terminate the execution abruptly. What does this output stand for? | |
Hi all experts, I try many times to get the inorder traversal but still it is wrong. Can anyone help me on this?? Thanks alot | |
can anyone help me with starting this program i have no idea how to start it. Design and implement an application that reads an integer value representing a year from the user. The purpose of the program is to determine the year is a leap year in the Gregorain calender. … | |
Hello, if anyone can help I'd greatly appreciate any input! I am of course another newbie and attempting to compile the Inventory program - it contains arrays and I am trying to create a method to calculate the total inventory which is contained within the array named sumInventory[] Here's the … | |
Ok so lets say I have any GUI that needs its contents changed while it is running, so that it will re-display the new contents. An example would be a JTable that just lists things from an ArrayList. So if I had an ArrayList<GroceryList> my JTable might have Cheese Crackers … | |
hello everyone, is there any tool class or utilities class in java class library that can run/view .class file?. for example if i click a jbutton i can view a .class file.. Please help. thanks. | |
I have doubt about MouseEvent consume(). And, what it is used for? As, I tried an example and I could not figure out what it was doing Please give your suggestions on this Thanks Nick | |
I am trying to write a program that reads an inputted sentence and takes each word an puts them on a separate line. Then the program needs to count the number of words. I really do suck at this and am only still in this class because I have to … | |
[COLOR="Green"]Hi,[B][I][/I][/B] Can some please help me the type of errors in programming?[/COLOR][B][I][/I][/B] | |
I just wanna test my event,but it doesnt work,anything wrong? Pls help...thanks.. [code=java] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class Frame extends JFrame { private static final Font numFont = new Font("monspaced", Font.PLAIN, 14); private static final Font font = new Font("monspaced", Font.PLAIN, 14); private JTextField displayField; // … | |
Hi friends,, I am doing engineering and need a JAVA Project on Online Examination.. I dont want a long and complicated project.. But only a project made up of servlets , JDBC... I will be thankful to you as I need it urgently.. Plz help me out... Thank you... You … | |
what does it mean when you say' reading a java text file?' what does it mean when you say 'writing a java text file?' | |
what am i going to do? we are tasked to create a shopping cart. Product list should be stored in a text file. I have it already, the thing is when the user would buy a certain quantity of a certain product, let say Product list: [U]item# price quantity[/U] pencil … | |
Hi I am new to javamail API. I added mail.jar and activation.jar in my jre/lib/ext.But still when I am trying to run programs I am getting an error of java.lang.NoClassDefFoundError in main .. can anyone help !! i really need to begin up coding as the deadline's approaching | |
Can someone explain to me how to convert a number to a string. For example like this number 99812.50 to a string in words (Ninety nine thousand eight hundred twelve dollars and fifty cents, | |
i don't get it how do you create a text file? i've read some tutorials but still can't understand.. some1 help me? | |
Hii All I am a biggner with java programming Now I assigned with a arogram to [COLOR="red"]"display multiple images and its name on particular location on a frame. (Hint Use Image class and ToolKit classes of java.awt.* package) "[/COLOR] plese help me to do this | |
Hey, i'm trying to use the method [ICODE]getValueAt(int row, int column)[/ICODE] from [ICODE]Class DefaultTableModel[/ICODE]. This method returns [B]Object[/B] value, but i want to get an [B]int[/B] value. so can anyone suggest what class to use in order to convert the [ICODE]Object [/ICODE]value to [ICODE]int[/ICODE] ? | |
Hi I was hoping somebody could help me I have installed the s60(nokia) java on my laptop and i am trying to get the helloworld program running. The javac and preverify are working. But when i go to the directory for the program helloworldplus i am getting 32 errors when … | |
I have just downloaded j2me and i installed it in C:\ but when i create a midlet it stores the project in C:\Documents and Settings\username\folder... i changed the path env varbls but to no avail.. if i want them in a folder that this tutorial below describes( ie. in the … | |
Hi Folks, Here is the Question for u ? ;) Is it possible to a Run a [B]Unix Shell Script File Using java Program [/B](ex: using Runtime ,process class etc....);) my Shell Script File Contains So many Commands (like find ,sed,awk,convert etc..) [B]----->[/B] I would like to run this shell … | |
Using Tomcat 5.5, JRE 1.6.07, Jdk 1.6. JNDI: mySQL DATABASE. I used eclipse to develop the application. I think it is a classpath problem but as i am new to Java i havent a clue where to start digging. I am not quite sure if i am supposed to have … |
The End.