32,204 Topics

Member Avatar for
Member Avatar for ronpar123

Thanks for all your replies but I have a one more big issue. Actually I am migrating my application from websphere to JBoss. In my application there are 3 deployment descriptors files in each ejb jar. ibm-ejb-jar-bnd.xmi ibm-ejb-jar-ext.xmi code for ibm-ejb-jar-bnd.xmi <?xml version="1.0" encoding="UTF-8"?> <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="[URL]http://www.omg.org/XMI[/URL]" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1101636685106"> …

0
66
Member Avatar for vinod_javas

Hi guys.. I dont know whether am asking a valid question.....but am having this doubt.... can we Customize the jar file icon...is it possible?? I just want to change the icon for the jar file.. i just want to use my own icon..is it possible???

0
65
Member Avatar for mr.sweetchuck

Hi I am trying to write a simple J2ME application, (I've only started learning it), and am getting the following error: Unable to create MIDlet null java.lang.NullPointerException at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) I don't know what's wrong. Any suggestions would be greatfully received. My code is as follows: [code] import javax.microedition.midlet.*; …

Member Avatar for vinod_javas
0
794
Member Avatar for mesmo

Hi people I'm new to posting here so sorry if I get the code wrapping thing wrong Bascially I think I'm having a heirachy problem and its probably really obvious. This is the the class with the error. The top line gives me an error saying cannot find symbol, constructor …

Member Avatar for Infarction
0
165
Member Avatar for Prajijithesh

I need a help. Online projects written in servlet only or any other language unsing me. Me doing a project but its not an online project so i have written this programme in servlet.

Member Avatar for jwenting
0
89
Member Avatar for Venks

Hi Friends.., I have some problem in my timer thread..... the actual problem is... if i start only my application means timer is working fine.....but if i start any other application in my desktop means...problem arising in timer....timer becomes slow in action... and i have used Sleep range of 1000 …

Member Avatar for jwenting
0
81
Member Avatar for vinod_javas

I want to learn J2ME polish tutorial... Is any boday knows better link for that? I want to know the installation procedure and user guide

0
56
Member Avatar for mr.sweetchuck

Hi, I am writing a little GUI application and I want to set them up, so that they have a Windows look and feel. So far I can't seem to find anything workable.

Member Avatar for mr.sweetchuck
0
91
Member Avatar for vaniprahalathan

hi, i dont know how to disable the maximise and minimise button in title bar.....so please give me the idea for that......... regards, vani

Member Avatar for vaniprahalathan
0
68
Member Avatar for peter_budo

yay this first time that I develop something larger ;) My problem: main method display a frame with buttons where you choose what function/action you want to perform. Once you press a button I want the main window become invisible and windows with option for function to become visible. So …

Member Avatar for peter_budo
0
116
Member Avatar for engr_shoaibsafi

hi i m a final year student of computer systems engg, i have selected wireless information sharing systems as my final year project, i want 2 bulid an apllication like sql2gsm ,to accsess databas through sms,any body hav any idea, i wll appreciate it

Member Avatar for engr_shoaibsafi
0
275
Member Avatar for Monyet

How do you do this? I can assign each random values into arrays, but I cannot increment the value so that I can display each values with another for loops. It needs to be 5 to the right.. [code=java] import java.util.Scanner; import java.util.Random; public class LabAssgn_laksmono { public static void …

Member Avatar for MacGyver Orca
0
133
Member Avatar for cassyjack

Hi, I need so help in the right direction. Don't know if im going in the right direction or not. I have a card class and a deck class that models the hans. Now I have tor create two special hands that will play two sperate games depending on which …

0
70
Member Avatar for vinod_javas

Hey guys..., Is there any way.....to use background image for a form...in j2me without using canvas because if i use canvas means i cannot add textfield and all... or else is there any option for setting different font color

Member Avatar for tonakai
0
95
Member Avatar for Hellodear

Hello, I am a newb of Java applets. In the recent day, i got with a java code and is working properly with my current web page. I'm herewith attaching that source code. You just cut and paste it, save it as name.htm, and run it. Interesting pop up. am …

Member Avatar for masijade
0
177
Member Avatar for Mrato

public class Doomsday { public static final int Monday = 0; public static final int Tuesday = 1; public static final int Wednesday= 2; public static final int Thursday = 3; public static final int Friday = 4; public static final int Saturday = 5; public static final int Sunday …

Member Avatar for Infarction
0
82
Member Avatar for im4tion

Hi. I have a bunch of Java codes I have done and I was wondering if there is a possible software or program to convert it into c++? This is because I've done it in Java and now my lecturer wants it to be in c++ >< The concept is …

Member Avatar for Infarction
0
153
Member Avatar for Skyblue

Can somebody help me with this please. i need to create a //calendar on the frame. i got the frame but the calendar is not woking. import jpb.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class DayOfWeekAWT { public static void main(String[] args) { Frame f = new DayOfWeekFrame("Day Of …

0
47
Member Avatar for shazzy

hi everyone im shazna i got this mate that has been working ahrd on her java coding and now she is stuck as she lost her original file of the coding she is starting from her older version and she is lost because she cannot figure out what is wrong …

Member Avatar for iamthwee
0
75
Member Avatar for kalaiselvi.v

i have used this formula to generate random number. [code=java]Integer random_number = new Integer((int)(Math.floor(Math.random() * (max - min + 1)) + min)); while(numbers.size() < noofQn ) { Integer random_number = new Integer((int)(Math.floor(Math.random() * (max - min + 1)) + min)); System.out.println("Random number"+ random_number ); if(!numbers.contains(random_number)) { numbers.add(random_number); } }[/code] numbers …

Member Avatar for jwenting
0
70
Member Avatar for parthiban

Hi folks , I just started to learn J2EE using Netbeans(5.5) and JOnAS (4.8.4 ) . I tried to run a simple session bean(stateless) invoked through client application. I successfully deployed in jonas using Netbeans (5.5) but i can't able to successfully run it. Here with i attached client application(client2.zip) …

0
79
Member Avatar for alba07

I am supposed to create a hit the target class with multiple classes. First place a ball that moves horizontally on the cavas, then create another class with a square that shoot up three balls when the user click the mouse. This class extends Active Objects. Any ideas?

Member Avatar for alba07
0
100
Member Avatar for jitender_jitu

hi I m gettting this error java.lang.NoSuchMethod , i hv tried but not able to get the answer, I m using one method that is in diffrent class and that class has public static void main(String[] args) { } Plz provide me wih solution. Jitender

Member Avatar for peter_budo
0
134
Member Avatar for goofa

hey guys this is my program ,every thing works great but i want to to make aloop which makes the program play again,idon't know how to do that for multi methods program can some one help me. i know i have to create string and use that to loop the …

Member Avatar for peter_budo
0
111
Member Avatar for ryy705

Hi, I have been trying to learn how to create web services for last few weeks. In the process I learned about xml, mySQL, JDBC, servelets, and javabeans. At this point, if you give a specific task such as 'get price for a certain item from the database and display …

Member Avatar for ryy705
0
88
Member Avatar for mpbf

hi everyone. I´ve seen many examples of word counters but im still confused about my program. I have to do a word counter until words of 4 words specifying I number of times that appeared the word in the text, general procentaje, percentage of the words by number of letters, …

Member Avatar for peter_budo
0
29
Member Avatar for talablink

Hello I need help. I need to write a program that changes all upper case letters to lower case letters and all lower case letters to upper case then the vowels with an *... it would look like this normal= UppER loweR caSe output should be this.. *PP*r L*W*r C*s*.. …

Member Avatar for jwenting
0
293
Member Avatar for goofa

[COLOR=#0000ff]1 [/COLOR][COLOR=#941edf]import[/COLOR][COLOR=#000000] java.util.*;[/COLOR] [COLOR=#0000ff]2 [/COLOR][COLOR=#941edf]public[/COLOR][COLOR=#941edf]class[/COLOR][COLOR=#000000] CALC[/COLOR] [COLOR=#0000ff]3 [/COLOR][COLOR=#000000]{[/COLOR] [COLOR=#0000ff]4 [/COLOR][COLOR=#941edf]public[/COLOR][COLOR=#941edf]static[/COLOR][COLOR=#941edf]void[/COLOR][COLOR=#000000] main (String[] args)[/COLOR] [COLOR=#0000ff]5 [/COLOR][COLOR=#000000]{ [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000] much;[/COLOR] [COLOR=#0000ff]6 [/COLOR][COLOR=#000000]System.out.print([/COLOR][COLOR=#00cb00]"\nEnter the number of numbers "[/COLOR][COLOR=#000000]); [/COLOR] [COLOR=#0000ff]7 [/COLOR][COLOR=#000000]Scanner input=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#000000] Scanner(System.in);[/COLOR] [COLOR=#0000ff]8 [/COLOR][COLOR=#000000]much=input.nextInt(); [/COLOR] [COLOR=#0000ff]9 [/COLOR] [COLOR=#0000ff]10 [/COLOR] [COLOR=#0000ff]11 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][]num=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][much];[/COLOR] [COLOR=#0000ff]12 [/COLOR][COLOR=#941edf]double[/COLOR][COLOR=#000000][]perc=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#941edf]double[/COLOR][COLOR=#000000][num.length];[/COLOR] [COLOR=#0000ff]13 [/COLOR] [COLOR=#0000ff]14 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][]den=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][num.length];[/COLOR] [COLOR=#0000ff]15 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000] total=0;[/COLOR] [COLOR=#0000ff]16 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000] total1=0;[/COLOR] …

Member Avatar for goofa
0
137
Member Avatar for vinod_javas

Hey buddies.., I m developing some project using java swing... in that I got a problem like......if i use timer thread in label means i couldnt perform any other action in that panel like button click event and all.... it becomes too slow in action....

Member Avatar for vinod_javas
0
147
Member Avatar for LSPUWILLC

I decided to evaluate a Java game and I chose the famous snake game (actually "snake pit") , since I am just a begginer at these things I need some help :sad: ! What are the typical Java characteristics in this game?? ([COLOR=red]How can I recognise that this is a …

Member Avatar for jwenting
0
157

The End.