115 byte By
sjaliaa at 2007-11-27 11:57:43
<p>hi Guys</p><p>can anybody tell me why developers always prefer to use Web Service instead of RMI</p><p>Thank</p>
<p>How is Java Beans useful in wrting java progs</p>
Hi,is it possible to download data like 1- 1000 numbers from a website into a java program in my local machine and execute the java program on the local machine.If yes then how can i pass this data ? can it be passed one by one or at bulk through a file? how doe my local program capture this data ? ...
is it possible to access a bean in servlet ?if yes ...please solve my problemi am trying to access a form data from html page..simple form <form method="post" action="Beanservlet" ><input type="text" name=username ></form>BeanServlet.javaimport java.io.*;import javax.servlet.*;import ...
I am making a smallish website and I am after some clarification/guidance/feedback on if I am properly abstracting out the different functionality, linking it all back together etc?In short: am I doing the right thing here?I have a JSP page that is an about page attempting to pull some user info ...
A public setter method in a public class is equivalent to a public member variable in a public class. For example, public class MyBean {private int myInt;MyBean() {}public int getMyInt() {return myInt;}public void setMyInt(int aint) {myInt = aint;}}With the above implementation, a private member ...
246 byte By
myhoneya at 2007-11-27 10:55:54
<p>Hi..</p><p>i am reading pdf file using LucenePDFDocument , but it is not reading the big size( more than 20mb file its giving me below exception</p><p>Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</p><p>plz help me</p>
<p>hi all, i am writing an internet cafe management system, and its required that clients do not access the start button, although it will be visible but will not respond to mouse clicks or keybord events.</p><p>And also how do i disable ALT+TAB when my program is running.</p><p>thanks.</p>
3053 byte By
dalchaua at 2007-11-27 10:32:30
Dear all,I'm a very new user of the java programming language. I'm experimenting with using Eclipse and Java commands built in to our University network. I've come up against a problem that I cannot resolve...In Eclipse (on Windows), i've written a class which takes routines from some External ...
<p>Hi,</p><p>I would like to know how I can check whether a file is ascii or binary.</p><p>Thanks.</p>
<p>How to create my own Frame with round angles?</p><p>P.S. I want to make Winamp2.</p>
<p>this excample show how to uncompress the rar file with the unrar in java</p><p> http://download.csdn.net/filedown/aHR0cDovL2RsMi5jc2RuLm5ldC9kb3duNC8yMDA3MDcxMC8xMDIyNDYxNDUzMy5yYXI=!207726</p>
Hia friend of mine shocked me sending this http://www.esnips.com/nsdoc/c1f0b2b7-0660-4485-9842-756bc0355228I was deploying a standard GUI apps to handle a ebook store but now I wonder if I should use this method to that allows clercks to perform advanced query on DB.Has someone never used this ...
689 byte By
goel1a at 2007-11-27 10:01:45
Hi, I am trying to use the beans within the JSP page by sending its input to other class which i used it in Bean.The tags and contents listed are as follows:<jsp:useBean name="register1" class="/rms/reigister"><jsp:setProperty id="register1" property="*"/></jsp:useBean>On ...
512 byte By
Bruce_La at 2007-11-27 9:58:24
I have a jsp application that uses 2 non-visual JavaBeans. One is an application scope and the other is a session scope. The beans are in separate jars. I would like to have the session bean be able to have the application bean do some work. Is there a way to have the session bean call a method ...
3270 byte By
myhoneya at 2007-11-27 9:57:25
Hello,I am trying to read and write to an Excel file via my Java applet. I have done so successfully on several simple Excel files that simply had data cells without many complicated equations or any other Excel extras. However, now is the time to get the complicated ones to work. I didn't ...
304 byte By
DNunesa at 2007-11-27 9:46:45
Hi all,I'm using NetBeans to build some app GUI but I'm having trouble changing the JFileChooser look and feel. I'm on WinXP and always when I add a JFileChooser to a JFrame form it uses WindowsUI Look and Feel, while I need it to be Metal Look and Feel. Does anyone know how to do ...
HaiI have this requirement of parsing an excel sheet and getting the data in it and storing the data in the appropriate tables in database.Please suggest me some way of doing this or the links wherein i can get some solution.Thanks in advance.........
492 byte By
-Deba at 2007-11-27 9:26:59
How do you handle getting the Program Files directory (or any directory) if the OS is not in English?I can use Java and properties files for each Locale, however how does thiseffect the directories used in the Program itself?I have converted the text to support another Locale. This was well ...
1261 byte By
JimDVa at 2007-11-27 9:12:08
Hi All,My desktop app is intended for Windows only. I'm writing files to the hard disk to store app specific configuration.The applications main data source is a ZIp file that consists several XML files. The user can store this ZIP anywehre they like and the application will extract the ...
Hey I want to apply linux lookandfeel for my application.But I dont know how to apply linux LookAndFeel I mean name of methodI need help........Thanx in Advance.
Hi,I have created a project using Java Desktop Application in Netbeans 6.0. I have used a JTable object in this project. Even though I deactivate editable property (define "isCellEditable" method 'false'), when I load data in this object, editable property is still active. Please ...
483 byte By
-Deba at 2007-11-27 8:45:19
When creating a new folder, which will be deleted with the Application exits.Is there a way to check to see if the OS/system the user is using will allow a new folder to be created. Security? Etc... I can add a check to see if the new folder was created, or failed to be created, however I ...
609 byte By
nj_javaa at 2007-11-27 8:45:18
hi all i am creatin a small application which performs some type of functionallity as any java ide does but i have a problem in one area in my application when i create a demo.java file i compile it through runtime.exec("javac "+filepath)this creates class file now i want to run the applicaiton ...
641 byte By
-Deba at 2007-11-27 8:45:17
I'm simply trying to delete a file using boolean success = file.delete();if (!success){System.out.println("Error deleting file.");}Sounds simple enough, except -- it isn't returning an accurate value.It returned false, and when I check the directory, the file had beendeleted.It does return ...
hi !i want to create a web page using jsp/struts which contains a picture & a save button. When i 'll click on the save button then a dialog box will appear & i can browse a location to save the image.I need help to create the application
We make a private variable then public getter and setter. Why not just make variable public. Please think deeply dont go just for oops concept and acccessibility features,
Hi All,I have some code which takes a XML DTD and parses it, writing information to System.out. Or it's meant to - I cannot get the parser to see the DTD file.The code is: public static void main (String[] args) { try {Class loadedClass = Class.forName("com.ibm.xml.parser.SAXDriver");Parser ...
Hola a todos.He buscado por toda la red y todav韆 no encuentro la forma de obtener la ruta de mi archivo jar desde java. Quiero hacer una aplicaci髇 portable que de tome como base la ubicaci髇 del archivo jar para poder acceder a otros archivos que se encuentran fuera del jar pero que est醤 en ...
hi everyoneim in a kind f situation where i want to pass object of ype my custom class Data in setter method. but in getter i need something of type List to be returned. how can i do this in a bean
I have seen the tutorials for using Synth look and feel, but in any of the tutorial there is no description for how to apply synth lookAndFeel for a progressbar or scrollbar. It uses same image for background and foreground.Can anybody tell me how to apply synthLookAndFeel for a scrollbar?Thanx ...
My project involves a Java program running in the background which is used to copy files that I have selected on the desktop or file explorer. I have a slight problem. Suppose i have a file selected on my desktop or on a a windows folder. Is there anyway that I could determine what that ...
125 byte By
Viplava at 2007-11-27 8:08:24
can any one give the differencebetween normal java class and java beanIs every java bean is a java class
when do we use session scope , request scope ?can you pls. explain with an example
Hi all,Can some kind soul guide me to a tutorial / materials / code sample in creating a .exe (for a java program) to run in windows ?My intention is to create a .exe such that when it is clicked, the java program runs.thanks a bundle.
397 byte By
EvilEa at 2007-11-27 7:51:58
I'm with a small company which does'nt have an IT department and I've discovered that a few areas of my job would be a lot easer if i could develop my own software, I was wondering what kind of licence I would need to use Java to develop such programs,I've looked through the sun site but ...
73 byte By
kenoaa at 2007-11-27 7:49:40
Will the JAF be available under the GPL (in addition to the CDDL)?
Hey I want to search my drive for specific files in Java..Can anybody please tell me.Any links!!!!!!!!!
Does anyone know what the TOC uses to display to the screen the tree? I am trying to figure out if I can add support for numeric entities for characters, & #917 ;rather then & Epsilon ; since my companies online help parser/creator seems to have a hard time comprehending that we want ...
I have an object wanna to encode with XMLEncoder. It has only getters but no setter, and thus all the readonly properties can not be encoded.Any one has solution to this issue?
372 byte By
raynica at 2007-11-27 7:30:27
Hi,is there an effective way to watch and manage a folder without JNI?For example, if there is a huge file which gets stored in this folder, how can i check that the file finished the saving process? So that the file is ready to work with it.Maybe there exists a pattern or a framework, which ...
210 byte By
accs21a at 2007-11-27 7:11:11
Hello,I'm a newbe, so if my question belongs to another forum, please refer me to it.which java versions can i install on debian 3.0?i can't install another o\s on it.thanks
362 byte By
GreGeeka at 2007-11-27 7:10:02
Hi, I'm quite a beginner in J2SE, and would like to know if it's possible to make totally customized frames, for example a circular frame instead of rectangles or squares... or something like a frame with 5 or 6 bounds.. Maybe it's impossible or already exist, i really don't know and ...
925 byte By
dglnza at 2007-11-27 7:09:05
hi folks,got a java console app that i'm having trouble with.points are as follows...1. when i step into the app (from main) it goes well2. when i come to the code where i open a bufferedreader stream i get a popupthis popup gives me 3 or 4 options like...step out, step in, step over, ...
Hi all, Is thr any way that i can find that the application that is running on my desktop has memory leaks or not in WINDOWS.(without using any tool)
341 byte By
arasia at 2007-11-27 7:02:09
Hai,How 2 convert a webapplication(nothing but execution not from main method) into .exe file.Is it possible to covert.I found that a executable jars are used to convert a java application into .exe but no where i found abt webapplication.If possible just reply to msg as it is very urgent.Bye ...
241 byte By
vamegaa at 2007-11-27 6:57:52
I am seraching for a way to create a new user on a linux system through a java program. Does anyone have any idea on how i can do this.This application will be run as super-user, if that is to be of any help.Thanks a lot
I am new to JSf and I am using h:panelgrid similar to html div for my pages.but i dont know how to use h:panelgrid properly . Can some one help me on this?Thanks in AdvanceKarthikha.
Hi,I'm getting the following message when I try to execute - java classname.class from the command promt. Message - Exception in thread "main" java.lang.NoClassDefFoundError:I'm running XP and variables are set as:CLASSPATH - C:\Program Files\Java\jre1.5.0\lib\ext\QTJava.zipQTJAVA - ...
Hi all,I would like to investigate the sources of the file dt.jar that is bundled with JDK ... I'm interested in the *BeanInfo classes that it has. Does someone know where can I find them ?Thank you very muchMarcosMessage was edited by: marcossoft