Change Language Netbeans

384 byte By jpater23a at 2007-10-3 0:18:41
Hey, I am looking to do a program in netbeans 4.1 and I am looking for advice on how to create a set of methods on changing language to english to french and german. The labels are in english I wanna make this code a bean so I can change the language of the labels on the property sheet. Does ...

using jsp:beans

2721 byte By sriarumillia at 2007-10-3 0:20:02
hi guys Pls look at my scenario:I have an html file with a username and password fields.on "submit" it access "register.jsp" page:here is the code for my register.jsp:<jsp:useBean id="user" scope="session"class="test.redusername"/><jsp:setProperty name="user" ...

Change Language Of JLabels On Property Sheet

334 byte By jpater23a at 2007-10-3 0:25:28
Hi, I wana create a form bean and I would like it to have a customisable property of chnaging the language to French And German. I have seen a few methods ie - getLocale(), setLocale(), getLanguage(), setLanguage() however, I dont know what one I should use and how to use it. Anyone Have any ...

Introspector behavior and multiple BeanInfos

820 byte By ljnelsona at 2007-10-3 0:25:45
I have, let's say, a BaseObject class, a Party class and a Person class. I would like to expose only certain PropertyDescriptors from each class. So, when I introspect a Person instance, for example, I'd like the sum total number of PropertyDescriptors to be those returned by the BeanInfos ...

Getting wrong year.

255 byte By Theepana at 2007-10-3 0:31:42
import java.util.Date;public class Test {public static void main(String args[]){ Date dat=new Date();System.out.println(dat.getYear());}}It prints out: 106 instead of 2006.What is the problem?

Making a Stateless JSB sleep?

490 byte By Replaya at 2007-10-3 0:33:30
Hello Guys,How can i make a stateless Java Session Bean sleeping?i made a simulator, and this simulator contains like 40 methods, and i want to make a realistic simulator, so i want to make a little delay in every method, before it starts.i hope you understand what i want to make.i tried to ...

jsp:setProperty

341 byte By ccalvitoa at 2007-10-3 0:33:37
WellI like to use one bean for different jsps with different properties. I don't want to have setters and getters properties, I would like a HashMap with the property-values. Could I overwrite jsp:setProperty tag?Or it will be better to use a custom constructor with HTTPServletRequest ...

dynabeans

209 byte By shruthi04a at 2007-10-3 0:44:09
Am new to dynabeans.. Can anyone tell me how to use dynabeans in jsp. Am using Display tag to display all the values from database dynamically. Can anyone tell me how to retieve that without using bean.

API for Desktop search

394 byte By Bulusua at 2007-10-3 0:46:56
Hi ,Can some one let me know if there is any API available for searching files which contain specific words in a particular directory?My objective is to get the files that contain a string from a directory.In short it should work similar to the windows search which lets you search for files ...

Installing a swing app with jre

386 byte By Reegza at 2007-10-3 0:53:19
Hi guys,I have a swing app which i wish to deploy on windows-based systems. I have downloaded installers which would be able to install the program. However, I would first need to find out whether the system has java installed. How do i go about doing this? Are there any standard methodologies ...

looking for JavaBeans tutorial

100 byte By cloraca at 2007-10-3 1:00:44
Hello,Can anyone recommend a good online tutorial / primer for JavaBeans?Thanks

Development of an IDE with GUI Designer

560 byte By Sajala at 2007-10-3 1:03:35
Hi ,We want to develop an IDE in java, which will provide a GUI Designer also. It allows to Design some screens by providing some minimum controls( developed in Java Beans) . The output files fed to compiler are XML files. Could anyone tell me how to start of a development like this. Any books ...

registry editor

254 byte By neeraj.sharmaa at 2007-10-3 1:05:30
i'm trying to make a registry editor for windows in java as my mini project. it will be similar to "regedit.exe", already present in windows. is there any class which allows reading and writing from the registry? if not then do i have to use jni?

How can I add global classpath to NetBeans?

121 byte By s2smha at 2007-10-3 1:09:05
How can I add global classpath to NetBeans,rather than project runtime classpath?For instance,JDBC driver of MySQL

When should a bean be destroyed

930 byte By MrVenjera at 2007-10-3 1:14:50
Hello all, I am developing a system using JSP, beans, Servlets and Oracle backend. I am reading data from the Db, for example, user data (real name, username, location etc) and at present each row from the resultset is taken and a bean created - then the bean info is put into an arraylist. All ...

deleting folders by executing dos commands in java

222 byte By ravisenana at 2007-10-3 1:18:44
Hi all, I tried deleting files , by executing dos command in java.It works perfectly.But i cant delete folders in the same way.Can anyone help me please.Very urgent....Thanks in advanceravisenan

JavaHelp modal window

126 byte By bulba_aa at 2007-10-3 1:20:18
Hello everybody. Can anybody tell me Is it possible to make a help window modal (like JDialog)?Thank you.

JavaHelp & multilanguage support

841 byte By bulba_aa at 2007-10-3 1:20:23
Hello.I bumped into a big problem. I can't see any way to solve it.My Java applet has a help system. Also there is a multilanguage support within applet. And user can switch applet's language on fly without any restart procedure. And that created a big trouble for me. I can't realize the hot ...

How do you invoke the default browser for Unix/OSX

780 byte By MidnightJavaa at 2007-10-3 1:22:35
Does anyone know how to programmatically display the contents of a URL in the default browser for a Unix system? I found a javaworld article on doing this using Runtime.getRuntime().exec(cmd). The article gives the cmd string for invoking the default browser in Windows, and for invoking the ...

Server side data validation - help

1311 byte By Arthreyaa at 2007-10-3 1:23:35
I have to check whether the user have entered a valid price.If not I've forward the user back to x.jsp. When I'm trying to do this, I'm getting the following error. java.lang.NullPointerException . Can anyone suggest me how to fix this pblm? Thanksdouble price = ...

timestamp comparison

3049 byte By da_bossa at 2007-10-3 1:24:04
hi!I want to check if my entity beans' find methods return proper values. To do it (since I don't have a special testing database yet) I just take all the data from table using jdbc and compare to what I get from beans' home interface.This is the method I use to compare Timestamps:private ...

limit size of memory to phone emulator

49 byte By q8za at 2007-10-3 1:25:51
how can i limit my size of memory in j2me?

SDOs- session facadePLZZZZZZZZZZZZZZZ HELPPPPPPPPPPP

808 byte By javainfevera at 2007-10-3 1:26:21
hi,I am using session bean facade in an application. This facade is creating SDOs for handling requests of add, update, delete or view.I have used them to create different listing servlets. But when I am adding new products or items or store etc I am facing errors.Adding etc is OK for entity ...

GUI Look and Feel using Netbeans

247 byte By kenjobonesnappera at 2007-10-3 1:26:26
Hello,I'm new to netbeans and i'm just wondering how i get my app to look like a Windows XP app. When using Matisse I can do a preview and it looks fine. But when i run the app it looks completely different.thanks,ken

Button error (awt)

489 byte By originofa at 2007-10-3 1:35:36
I try to do this ...Button tasti[1000] = null;for(int e=0;e<1000;e++) tasti[e] = new Button();for(int i=0;i<1000;i++) f.add(tasti[i]);But netbeans give me to me an error at the first line.....how can i create a Button vector with 1000 Button ...

bdk software tool

92 byte By Manivela at 2007-10-3 1:37:39
Dear Friends,How can i get bdk tool.Kindly ReplyThanks...

zipping or compressing a folder

184 byte By ravisenana at 2007-10-3 1:47:48
Hi all, I want to compress or zip a folder, that contains several folders and files in it.how to do that in java.Please help me...Thanks in advanceRavisenan

Unable to compile class for JSP-javabean problem

4568 byte By Anurag.Ka at 2007-10-3 1:52:40
hi friends;Please help meplease suggest me where i am wrong, i think javabean is not instantiated in jsp file.may be it is related to the classpath of javabean. i have not set any variable for javabean classpath. and i put javabean class file inTOMCAT_HOME/webapps/test3/WEB-INF/UseDta.classand ...

Scanner And Java

164 byte By ghhd_7a at 2007-10-3 1:58:17
How I can scan image from Scanner device There is any api in java do thator any external package do thator any way to do...thanks

Easiest way to find C:\Documents and Settings\user\Application Data

619 byte By jds@ku.edua at 2007-10-3 2:01:08
Is there a simple way to get the path to a user's application data directory from the system? I don't want to hard code in something likeSystem.getProperty("user.home")+"\Application Data\";I would LOVE IT if there was a cross-platform way to find where application config data should sit for ...

How execute content of a String

125 byte By yoshi_01a at 2007-10-3 2:01:45
have an instruction at String, how can execute?example String ah="System.out.println(\"Hello world\");";

UnsupportedOperationException: Current system default mailer is not support

2927 byte By anilp1a at 2007-10-3 2:05:17
1) When I use a html mailto in a html page, it correctly opens Yahoo Mail as the default mailer.In the registry (Win XP), under HKEY_LOCAL_MACHINE\\SOFTWARE\\Clients\\Mail,Yahoo Mail is listed.2) I am trying the example from here, but get an ...

Download BDK

121 byte By jotnartaa at 2007-10-3 2:08:41
Hi AllI want to download BDK, I don't know where to go? Can any one help pleeeeeeeeeeeeeeeeeeeeeeeeeeease?

How to Minimize Application to the System Tray

380 byte By khickyphutza at 2007-10-3 2:13:52
GoodDay! I would like to ask your expertise in Java?.. I am just a newbie in Java and I do not have any idea how can I minimize my application to the system tray?br>Is there anyone who has an example to this one? even just an empty JFrame example that when minimized, it will be placed not in ...

Create Java bean for a http session

133 byte By kaviratnea at 2007-10-3 2:16:05
how can i create a java bean for an http session. also is it possible to access it from another java class within that session

infoBus

156 byte By jotnartaa at 2007-10-3 2:16:14
HiWhen i try to run infobus.jar i get the following error:Failed to load Main-Class manifest attribute from .........Please Help

howto execute java jar file via html ?

131 byte By upiter77a at 2007-10-3 2:19:17
hihowto execute java jar file via html ?could someone pls post a html code ?kind regardsupiter77

String Immutable

165 byte By PatsDovea at 2007-10-3 2:20:24
please tell me "why String class in java is immutable?" actually i want to know what is reason so that Java required String class made to as Immutable?

java help and modal dialog problem

747 byte By DZaKa at 2007-10-3 2:28:10
I have a big problem with show my javahelp. If I do this from main frame and then show modal dialog (JDialog), my javahelp is not enable. So I use setActivationWindow with my modal dialog as a parameter and then javahelp works fine, but it doesn't not contain minimalization and ...

Tablet PC Developers

500 byte By Tablet10820a at 2007-10-3 2:30:54
Hello All,My company is currently interested in developing tools for the Tablet PC. We would like to establish a relationship with a developer who is knowledgeable with this platform. If anyone is interested in possible application development for Tablet PCs, please contact me at ...

Imatges not found in a Plugin

751 byte By Mike512a at 2007-10-3 2:32:29
I'm developing a Plugin with the eclipse IDE. I want to insert images for using them in a TreeView. I've tryied many ways but the only one that works is putting an absolute path to the image, but that is not correct for deploying the application later.I've tryed ...

change preferences for all users?

923 byte By boom_zapa at 2007-10-3 2:38:22
Hi I am using the preferences class to store some details for my java application. This app will be deployed to a shared folder so that many users will be able to acces it. I have included an administrator function in my app which allows the users to change certain features that other ...

Opening one application at a time

171 byte By haishaia at 2007-10-3 2:50:17
I used RMI inorder to avoid opening two window for an application. But in some machines it is not working. All the port numbers seems to be busy . What should i do?

How to develop the web components

260 byte By async_141a at 2007-10-3 2:55:41
Hi I trying to buikd a web applications.For that i need to build a components so that i can reuse them in interfaces.what are the different languages i can use fot it e.g. beans, jsp and etc.any help will be appreciatedthanks

How to use JTable with DataBase

172 byte By EzzatScreena at 2007-10-3 3:07:48
Dear All,how can i show a table in a frame that containes a data from a database, then can edit , add and delete some records in the databasethnx 4 all

I have one doubt in javabeans plz tell me

100 byte By java.doubtsa at 2007-10-3 3:08:12
Can we create buttons with reusable components (beans).If yes, how can we make use it.

about javabeans

40 byte By sa_7a at 2007-10-3 3:09:29
how to download the JavaBeans Kit

How ot use jasperreport

267 byte By Jchefa at 2007-10-3 3:20:14
Hi, I'm devloping a desktop app. And I want to use jasperreport in this.I've downloaded jasperreport1.2.5, but dont' know how to use.Please anybody help to sort it out this prob. Also let me know where to save this jar file.thanx

Stop selecting one cell in a table

201 byte By boom_zapa at 2007-10-3 3:21:41
Hi I have a small error that I can't seem to figure out, does anyone know how to stop a single cell in a table being selected? I would prefer the entire row to be selected.thanks.

File Chooser Not Returning Full Path

660 byte By zip184a at 2007-10-3 3:22:05
I have a jsp page with a file chooser on it. Whenever a file is choosen and the form is submitted, it says "file not found". I figured out this was because the file chooser is not returning the full path name of the file, just the name itself. I'm calling it with this line.<td><input ...