Advertisement
Nickname
spike
Registered since:
August 24, 2004
Short bio:
Java Developer in the Financial Industry. Formerly Supply Chain and Retail. Prefers thick-client apps over Web (hence Wicket is the Web Framework of choice).
Home page:
 
Total posts:
530

Forum posts by Kondwani Mkandawire:

36 pages [ Previous 1 ... 25 26 27 28 29 30 31 32 33 34 35 Next ]
Posted in Java Answers Forum, Jul 11, 2005, 9:42 PM
Hi there:I am really keen on knowing what is up here.I have an Applet and an Application written inPure Swing, the Applet queries a database viaa Servlet via Hibernate. My Swing Applet queriesa Database via Hibernate. The difference inSearch speed is tremendous (using the Same Hibernatemodules and the Same SearchEngine). Could thewhole Network...
Posted in Java Answers Forum, Jul 11, 2005, 6:22 PM
Hi there:How large a file are we talking of?There maybe alternatives in the Java API, but as wedon't know their implementations, they might alsobe using StringBuffers.Using a StringBuffer in the algorithm is the fastestway *I can* think of - at least just off the top of myhead. Its definitely quicker than using constantly reading and appending...
Posted in Java Answers Forum, Jul 10, 2005, 7:19 PM
You are right, I would toy around withsetFocusTraversalPolicy(policy)Fortunately all the Applets I've toyed with bydefault Focus is started at the first JComponentand is passed on sequentially.There definitely is a way to set default focusas you suggested (I would probably toy aroundwith the API suggestions of the...
Posted in Java Answers Forum, Jul 10, 2005, 7:04 PM
From my experience Eclipse seems to be extremly fussywith respect to work space etc.I find that if you don't have your project definedfrom the word go in terms of which Plugins you areusing e.g If you start a Project, name it, then tellit from the word go that you are using SwingPlugins(e.g. Jigloo), you will find that it will be hellto do so...
Posted in Java Answers Forum, Jul 10, 2005, 6:59 PM
> I want to open a text file using the new Formatter class> to be able to append to the file:> > Something like the following:> > Formatter outFile = new Formatter( "filename.txt",> xt", true );> > This does not do it. The constructor does not accept the> "true" argument. > > My question: How would you "open" such file in append mode?An...
Posted in Java Answers Forum, Jul 10, 2005, 6:26 PM
> Could someone explain the following code snip-it as best> they could. My real question and confusion lies within the> "@param" and "@return". What, in laymans terms does the> "@param token" and the "@return true..." mean. I can't> seem to figure out what the @ represents. Obviously I am> not a programmer...but am in the process of learning.>...
Posted in Java Answers Forum, Jul 7, 2005, 7:18 PM
> i'm new to programming and i need help. if you have> thetime please email me at revis32000@yahoo.com> > i have not been able to find a free java program. if any> of you would be nice to send me a program so i can learn> and build a website!!!!That's a really vague question.You can get a onliner JSP program by Googling HelloWorld.jspOr here's...
Posted in Java Answers Forum, Jul 7, 2005, 7:14 PM
> Thanks for your recommendation,> > No, it is not the case of JBuilder.> JBuilder installation's brings a JDK. Of course, it allows> you to change the target JDK and Compiler too.> But the editor haves a background thread, checking for> syntactical & semantic errors and still underlining the> new constructions of JDK 1.5 as wrong code...
Posted in Java Answers Forum, Jul 7, 2005, 2:21 AM
R U looking for a design suggestion (i.e a hugeproject with AI Modules such as a Knowledgebase to gather various data about the translationrules, grammar for languages, word to wordmappings, etc) or are you just looking for asimpleclass ActListener{ if textArea1.getText().equals("Hallo World"){ secndTextArea = new TextArea(...)...
Posted in Java Answers Forum, Jul 7, 2005, 2:14 AM
If I'm not mistaken, I believe most IDE's use the JDKon your machine, they simply have a config file thatpoints to it. I haven't used JBuilder in years soit might be different. I believe Eclipse lets youchoose which Java Environment to use on your machine.Try out Eclipse (you can also download all the neatlittle Swing Builder Extensions such as...
Posted in Java Answers Forum, Jul 7, 2005, 1:17 AM
Does anyone know if this problem is browser Specific.Here is the problem, I'm running an Applet that doessearches against a Database via a Servlet.When I hit refresh I would expect the applet to bereloaded hence if I enter values of the previoussearch it should be able to receive the same responsefrom the Servlet, unfortunately when I hit...
Posted in Java Answers Forum, Jul 6, 2005, 7:19 PM
My immediate *guess* or *attempt* would be tostick the applet in a Form that communicates witha Servlet, on Submit you POST to a differentForm that has your second applet.Kind of a long shot, but that's how I'd *try*to approach it.Someone please correct me if I'm wrong, thisforum is all about learning anyways (I'm would like to assume that none...
Posted in Java Answers Forum, Jul 6, 2005, 7:14 PM
> i recently was forced to install a new hard drive and it> was sent to me completely unloaded. i have been trying to> get the javascript installed but it gets about halfwayQuick comment on the above: I'm not too familiar withJavaScript, I would suggest however, that you searchfor a *JavaScript* forum as I'm sure you would receiveplenty of...
Posted in Java Answers Forum, Jul 6, 2005, 3:09 AM
Finally managed!! All to do with placing things in theright spot, Object Serialization and a simple 4Tarchitecture: Applet - Servlet - Hibernate Module- Free Source Database and the reverse. Applet - Servlet interaction happens by passing back and forth Serialized Objects - I used Propertiesthough I might customize my own Class for extendeduse...
Posted in Java Answers Forum, Jul 5, 2005, 1:54 AM
I finally got it or am at least a step towardachieving what I wanted (now just a Q of packaginglibraries in the right place).I don't quite understand the concepts of J2EEand was not too familiar with the directorystructure.In all honesty, not to knock on the Java J2EEtutorial, but its not exactly explicit in termsof what fits where from a...
36 pages [ Previous 1 ... 25 26 27 28 29 30 31 32 33 34 35 Next ]
Advertisement