32,204 Topics

Member Avatar for
Member Avatar for genocide

hi guys.. i need help.. can you give me a simple program of games in java except for tic-tac toe? i need it at the end of july.. i want to pass this subject and i want to master this programming language... please do grant my request... thank you very …

Member Avatar for jwenting
0
150
Member Avatar for madhu.garimilla

Hi, If any one knows how to implement a binary tree using hashmap collection in java please reply. Thanks a lot in advance

Member Avatar for TheGathering
0
2K
Member Avatar for vijaygandhi559

Hi, I am using websphere and trying to use javax.mail api . However i am receiving the errors as I am not able to import javax.activation.*; import javax.mail.*; the statements, the reason is Websphere does not recognize them, I am not sure whether i have the javax package. Could any …

Member Avatar for vijaygandhi559
0
154
Member Avatar for freddypyther

Hi there! I'm wondering if there is a "package" instruction in python so I can in a directory keep packaging all the classes and I don't have to import them every time. I mean, if in a same directory I have a class DutiesManager that controls an array of instances …

Member Avatar for jrcagle
0
133
Member Avatar for michael.ngobeni

Good day, I have a PDF file that acts as my template. I know how to use the x, y cordinate to put an image into that PDF file. My problem is that my PDF file has about five pages and I want to put this image in the second …

Member Avatar for michael.ngobeni
0
124
Member Avatar for vinod_javas

Hey guys., I just want to know about the MVC pattern in java swing. up to my knowledge i knew ...... Model is used for storing information like Scrollpane height=50 width=60 like that and view is used to show the output view.. like how scrollpane looks like... and controller is …

Member Avatar for thekashyap
0
151
Member Avatar for Mr.UNOwen

So I'm creating a game using Applet and I was wondering what would be the largest resolution I could ever consider for a game to run at 12 frames a second on a typical gaming computer? (BTW: This game is running on a local machine and NOT over the web) …

Member Avatar for Mr.UNOwen
0
149
Member Avatar for Kob0724

So I've got this jtable set up that displays the contents of an arraylist by use of the handy dandy table model (see code below). you'll notice it calls a method makeTableArray() (see code below) in order to figure out what the array that its going to use is. In …

Member Avatar for Ezzaral
0
239
Member Avatar for rdhiravani

Hi, I want to add a jar file to another jar file in such a way that my code should be able to access it(ie. internal classes of that jar). Thanks in advance.

Member Avatar for jwenting
0
3K
Member Avatar for saswati_mishra

Hi, I have a jsp which contains a list of radio buttons. I want that when the user selects any one of them the value of the corresponding radio button be passed to a textbox on the same page. How would I do that, I have no idea. Please help!!!!!!!!!It's …

Member Avatar for Ezzaral
0
79
Member Avatar for dotcom123

I have the slider code and the paragraph im going to put inside.That is create a horizontal slider bar, that will display individual words, each weight along the slider. So, at each step of the slider,a different words is displayed..so i need to load it up to the website using …

Member Avatar for dotcom123
0
86
Member Avatar for aPPmaSTer

Hi, I'm currently making a java-based web services application and want to embed the Google API. The trouble is that I can't fir their API files anywhere, can anybody help?

Member Avatar for saurav
0
82
Member Avatar for kalaiselvi.v

I want to connect to the database mysql . I am using Type IV driver Connector/J. How to connect to the database. When i load the driver class its working after that i get this error SQL Exception :Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** …

Member Avatar for masijade
0
109
Member Avatar for satish.paluvai
Member Avatar for satish.paluvai

why we can't specify like the following code synchronized class a { -- } if we want to synchronize a class we need to code like synchronized(a.class) ? If any body help me I will be very thankfull to them.

Member Avatar for jwenting
0
94
Member Avatar for mawarzinnirah

Here a problem where i have a process where user want some data file(textfile.txt) from somehere for example from D:\smart\rs334455.txt. After user have that file, user can choose whether he want to save the file or display it as a text file. Could anyone in here give me some example …

Member Avatar for satish.paluvai
0
301
Member Avatar for satish.paluvai
Member Avatar for soso30

hi all, I am trying to build a software application that should update user's phone book from an old phone numbering scheme to a new one . the aim of such application is to automate the phone book updating procedure, and make it easier for the subscriber, rather than doing …

Member Avatar for jwenting
0
98
Member Avatar for no1zson

Like many of the posts I see out here I have decided to learn Java. It is a bit more than I bargained for. From what I see every class in the world starts with a payroll program, mine is no different. I have done ok with it up to …

Member Avatar for no1zson
0
161
Member Avatar for onsir

Hi, i have installed Netbean 5.0 with file jdk-1_5_0_09nb-5_0-win-ml , but why my Netbean 5.0 IDE is not MDI Application , JFInternal Frame. while a right clik my Project thanks.

Member Avatar for Ezzaral
0
88
Member Avatar for shivams

i am new to java and i want to learn how to make games i saw some source codes of some games but i dont at all understand wt do the codings mean and how do we make codings to make a game....plz can i get some help.

Member Avatar for ~s.o.s~
0
92
Member Avatar for jonamasa

Hi I downloaded a simple Java application using Spring, which works in Eclipse if I manually add the needed jar libraries. However, I would rather use the existing [I]build.xml[/I], which includes the libraries via [code]<fileset dir=...>[/code] and [code]<include...>[/code] nodes. If I rightclick the [I]build.xml[/I] and click on Run As->Ant Build, …

Member Avatar for Ezzaral
0
185
Member Avatar for speedygonzalez

Hi all! I've a pretty naive problem with my applet which is as follows..... [CODE=java] // Wordlist for GRE High Frequency Words import java.awt.*; import java.applet.*; import java.awt.event.*; /* <applet code="Wordlist.class" width=800 height=600> </applet> */ public class Wordlist extends Applet { TextField m1 ,m2 ,m3 ,m4 ,m5 ,m6 ,m7 ,m8 …

Member Avatar for Ezzaral
0
130
Member Avatar for snakai415

Is there a way to change boolean into integers? Like... making every "TRUE" = 1 and "FALSE" = 0 If there is a way, how will you do it? I tried using this 'cast' thing, but it's confusing :'( - - - - - I'm suppose to make a table, …

Member Avatar for snakai415
0
445
Member Avatar for new_2_java

Hi all, I would like to execute a shell script from my java code. Can some one please tell me if that is possible? Here's what I tried, but with no result. [code] public class RunPDCC { public static void main(String[] args) { try { Process proc = Runtime.getRuntime().exec("./test.sh"); System.out.println("Print …

Member Avatar for new_2_java
0
542
Member Avatar for endsamsara

Hi, How do i create a class called Text that creates an object from a string and that deletes the first word of the text have no idea I was starting like [CODE] public class Text{ public static void main(String[] args) { String str = "this is a little text …

Member Avatar for Ezzaral
0
106
Member Avatar for onsir

Hello , all how to change tab order. example : position cursor is now in txtCode, then while i press key tab , cursor move to other component. thanks.

Member Avatar for masijade
0
72
Member Avatar for arunprashanth

Hi I am running jboss 4.0.4 in fedora linux server. when i run jboss run.sh. It properly run. how to stop run.sh file. if i press ctrl+z it stopped. again i start means, the following error occurs. Error occurred during initialization of VM Could not reserve enough space for object …

Member Avatar for ranjani
0
87
Member Avatar for onsir

Hi, all how to make status bar in main menu with JFrame using netbeans, and i want to show. User : A 2007-4-12 into status bar. thanks

Member Avatar for masijade
-1
98
Member Avatar for grussell

I want to convert a vector into a string array. I have put in my code: criteria = (String []) tokenVector.toArray(); I get a ClassCastExceptionError (I can understand why since Vector holds objects which are 'bigger' than strings) - and yet I cannot understand how to resolve it - any …

Member Avatar for masijade
0
314

The End.