167 byte By
Viplava at 2007-11-27 4:04:18
Hai all,Can any one provide me what differs javabean from ana ordinary java class or what r the extra things we have to follow while writing a java bean.
Hi,I am entering the values in the html form.can i post this values to bean directly by form action ,method post ?thks.
import javax.persistence.* ;@Entity@Table(name="CABIN")public class Cabin {private int id;private String name;private int deckLevel;@Id@GeneratedValue@Column(name="CABIN_ID")public int getId( ) { return id; }public void setId(int pk) { this.id = pk; }@Column(name="CABIN_NAME")public String ...
I am pretty new to Java and have programmed an applet (or tray) application in netbeans using it's tools. The program uses three separate images for different states of it's tray icon. As a web developer I have run into a very uncomfortable dilemna: I don't know how to property distribute ...
am currently using POI to manipulate data into excel file, .......styleDates.setDataFormat(HSSFDataFormat.getBuiltinFormat("dd/mm/yyyy hh:mm"));cellG.setCellStyle(styleDates)cellG.setCellValue(processStartDate);processStartDate is Timestamp type, which value is getting from database, but when ...
Hello,This is my first time developing software that would later be sold. I do not know what is legal, etc, and was hoping that someone might be able to help:1) Is it legal to sell software written in Java 1.6? (This code will probably work in 1.5 if that is a problem)2) I was planning to ...
In the beans 1.0.1 specification, it says that a Customizer must extend from java.awt.Component, and furthermore that it must implement the addPropertyChangeListener() method. All fine and good; note that by extending from Component you get this implementation for free.But there's the problem. ...
285 byte By
ninjasa at 2007-11-27 4:53:51
I have a problem with Netbeans 5.5 and 6. If I set background color of the form in the properties tab to some other color than standrad, it's just don't work. Nothing hapens. Is this a usual problem or what?Thanks in advance..Message was edited by: ninjas
779 byte By
suse69a at 2007-11-27 4:54:04
I have got this exercise and would be thankful if somebody could point me in the right direction .Create a servlet that displays a list of customers (From the customer table of the database). Use the HTML table to organize the display.Hint: Use a Java Bean, e.g. CustomerBean that has the fields ...
Hi, We have developed a desktop application in NetBeans 5.5 using java swings.The application has six main forms(JFrame) and each main forms has 4 sub forms(JFrames).Each form has on average 6 .png images to be displayed.In one of the main form has 28 png image icons to be displayed on the 28 ...
Hi, I am developing an application which will download a software from internet.If we do it using browser we need to click accept button to accept the aggreement,we need to select a check box etc..If i am going to download through my java code how can i give this input(clicking next button, ...
Hello,I am running Sol 10 11/06 for sparc on a Sun Blade. I have jdk6u1 and jdk5u11 (default java) installed. My Desktop Overview and other java-related help functions do not work. I get this error:# jds-help ghelp:jdsoverview** (jdshelp:826): WARNING **: An exception occured 'Unknown CORBA ...
Hi,I would like to know how i can make a web application communicate with a desktop application (protocols,technologies, patterns?.And if I'm using a jsp web app and a java se app?Indeed, i have a desktop app. which use some information provided by an user via a web app,and the work performed ...
196 byte By
monkeya at 2007-11-27 5:18:35
How do I generate report in java application?I want to build java application that can generate report.I use NetBeans as my tool and MySQL as database..Please, help me.
I have been trying to compile a java bean using javac from within Fedora Linux 5. I compiled the first bean creating a class succesfully but the second keeps on coming up with an error. Both java files are stored in WEB-INF/classes/beansHere is my code://ItemOrder.java//file location ...
328 byte By
John-Na at 2007-11-27 5:42:27
Does anyone know if there is an open source swing thumbwheel control available?I have not been able to find one so far.This would look like a circle with a round notch. User drags the wheel around and it rotates around a radial axis, and the control would increment or decrement a given ...
Hi,I am currently developing a receipt printing application that resides on users' client machine and I need some help. Currently, whenever a user clicks a "Print Receipt" button a web application I developed, the response comes back as a specific file type (a .POS file). On each user machine, ...
473 byte By
Figoa at 2007-11-27 5:56:44
Hello Everybody,Hello everybody,For a project i need to make a java interface with xml communication. For example ; from 1 laptop I press on a java button and then i need to get a text message on the other laptop.The java interface is already created now the xml code for communication.I hope ...
976 byte By
vAaka at 2007-11-27 6:02:59
Hi,I was wondering how I can set a value of an indexed property from inside a jsp-page.Suppose I have a bean instance called myBean which has 3 properties: String name;int number;String[] array;In my .jsp file I can set the name and number using:<jsp:useBean id="myBean" scope="session" ...
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
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 - ...
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.
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
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 ...
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)
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, ...
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 ...
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
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 ...
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?
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 ...
Hey I want to search my drive for specific files in Java..Can anybody please tell me.Any links!!!!!!!!!
73 byte By
kenoaa at 2007-11-27 7:49:40
Will the JAF be available under the GPL (in addition to the CDDL)?
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 ...
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.
when do we use session scope , request scope ?can you pls. explain with an example
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
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 ...
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 ...
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
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 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 ...
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 !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
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 ...
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 ...
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 ...
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 ...
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.
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 ...