32,199 Topics

Member Avatar for
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
115
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
269
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
289
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
Member Avatar for thecabeza

Hey guys, I need help... I need to write a program that converts uppercase to lowercase letters in java, in netbeans 5.0, and i have no idea how to do it. Thank you, i would apreciate your help.

Member Avatar for masijade
0
197
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 vinod_javas
0
180
Member Avatar for arjunsasidharan

Is there any provision lik customised panel in java??? Can we design a customized frame in java?? i jus wanna knw whether v can or not.. don need t code:cheesy: if t code is available den post it :mrgreen: Thnx in advance!

Member Avatar for jwenting
0
87
Member Avatar for arjunsasidharan
Member Avatar for peter_budo
0
145
Member Avatar for mattyd

Hello: I have recently been studying Java; I have followed a few tutorials and building some simple apps. I am wanting to try applets. I read about them tonight and followed an included tutorial in order to get an introductory feel for doing so. My questions do not pertain to …

Member Avatar for mattyd
0
101

The End.