32,199 Topics
| |
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 … | |
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) … | |
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 … | |
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. | |
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 … | |
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 … | |
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? | |
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 ** … | |
why can't we initializa the fields in a constructor in the servlet? | |
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. | |
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 … | |
how to implement linkedlists without using util package in java? | |
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 … | |
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 … | |
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. | |
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. | |
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, … | |
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 … | |
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, … | |
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 … | |
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 … | |
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. | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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.......) | |
can anybody tell how to implement a trigger in a jdbc program? |
The End.