32,199 Topics

Member Avatar for
Member Avatar for mlohokare

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 …

0
66
Member Avatar for redflame777

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 …

Member Avatar for redflame777
0
89
Member Avatar for cproud21

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 …

Member Avatar for javaAddict
0
392
Member Avatar for sanaulla123

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?

Member Avatar for sanaulla123
0
179
Member Avatar for leo_zidane

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

Member Avatar for ~s.o.s~
0
118
Member Avatar for intelli

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. …

Member Avatar for intelli
0
157
Member Avatar for kasp4me

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 …

Member Avatar for kasp4me
0
149
Member Avatar for BestJewSinceJC

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 …

Member Avatar for sanaulla123
0
6K
Member Avatar for viber101

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.

Member Avatar for stultuske
0
146
Member Avatar for nekt

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

Member Avatar for nekt
0
146
Member Avatar for iheartcoheed129

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 …

Member Avatar for jared_masc
0
124
Member Avatar for cescbayo

[COLOR="Green"]Hi,[B][I][/I][/B] Can some please help me the type of errors in programming?[/COLOR][B][I][/I][/B]

Member Avatar for stultuske
0
113
Member Avatar for meteoroidkim

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; // …

Member Avatar for stultuske
-1
115
Member Avatar for praful_engg

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 …

Member Avatar for stultuske
-1
135
Member Avatar for ezkonekgal

what does it mean when you say' reading a java text file?' what does it mean when you say 'writing a java text file?'

Member Avatar for stultuske
0
166
Member Avatar for ezkonekgal

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 …

Member Avatar for stultuske
0
111
Member Avatar for preetika

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

Member Avatar for stultuske
0
83
Member Avatar for dhatfield

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,

Member Avatar for stultuske
0
67
Member Avatar for ezkonekgal

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?

Member Avatar for stultuske
0
102
Member Avatar for rthcupid

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

Member Avatar for Ezzaral
0
141
Member Avatar for Blackeagle

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] ?

Member Avatar for Ezzaral
0
133
Member Avatar for pablo25

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 …

Member Avatar for pablo25
0
185
Member Avatar for pablo25

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 …

0
80
Member Avatar for babusek

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 …

0
100
Member Avatar for PCheema

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 …

0
69
Member Avatar for janamrob

[B]Hi, I'm new in java. Can someone help me with this problem. I've attempted it and the code is as shown after the questions:[/B] [B][U]Question:[/U][/B] 1. Create a new Movie class which has two properties, title and rating. 2. Create a new Cinema class, add method addMovieGoers which takes a …

Member Avatar for javaAddict
0
4K
Member Avatar for nidhi.juneja

can anyone give me idea of how to makse a mail server .. preferable in java... thanks ..

Member Avatar for stultuske
0
89
Member Avatar for winky

Hey everyone, I am trying to convert the members of a string into their integer values, but not ASCII values. For instance, if I have the string "12", I want the following portion of the code to spit out 3, but instead it spits out (49+50=99) for the ASCII values. …

Member Avatar for javaAddict
0
114
Member Avatar for Koldsoul

I am working on a program that reads in a text file as a command line argument, then goes through the file, breaking the file down into strings, special symbols (such as .:!;?) and integers. The program stores each type into its own collection. I have all the collection methods …

Member Avatar for Koldsoul
0
145
Member Avatar for Chaster

Hi, I have some project in which I have to deal with similar text files merging. Is there any java package for this task? If no, does anyone know how CVS (or any other version control tool) deals with such merging operations? I mean based on what? Any personal idea …

Member Avatar for Ezzaral
0
83

The End.