32,199 Topics

Member Avatar for
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
97
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
159
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
541
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
Member Avatar for zaahar.hassan

I am searching for projects done in java.I am a M.C.A student and as per my academic requirements i'm asked to do projects.Please Help me

Member Avatar for jwenting
0
43
Member Avatar for joshSCH

Alright guys.. I'm back in the java forums for help/suggestions. I'm sure one of the Daniweb java programming geniuses will be able to decide if this idea is too difficult or needs to be revised. I was thinking of writing a stock trend analysis program. There will be a stock …

Member Avatar for Ezzaral
0
2K
Member Avatar for snakai415

I am currently reading about bit sizes or something.. is knowing these bit sizes important? Because I don't really get this, and if it's not important, I won't have to keep rereading this thing. Type Width in Bits byte 8 [B]<-- is knowing this important?[/B] short 16 int 32 long …

Member Avatar for snakai415
0
82
Member Avatar for satish.paluvai

I am using a servlet, in that servlet I used a doPost() method by extending the HttpServlet. then who implement the all remaining methods( doGet,doPut,doHead,doOptions.......)

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

The End.