Loading one JComponet Window then closing and Loading a different Window

562 byte By skull_blocka at 2007-10-2 21:59:14
Hello and how is everyone. I believe there is two ways I cam make this Java desktop application work, but I am not sure which is the best or doable. I have right now a Component tab window that pops up ask a user to select an option. Then they hit a next button. From here I want to close the ...

random numbers generator

84 byte By sunsridhara at 2007-10-2 22:00:45
could any one can give me the java code for generating 5 digit random number.

TaskBar size

131 byte By bemtailla at 2007-10-2 22:01:10
Hi All!How can I get a TaskBar size? I need to draw a window right adjoin to the TaskBar...Hope for your help.

how to do this

272 byte By myharshdesignera at 2007-10-2 22:12:49
how can we update a frame & show different test in a same frame.like there are 2 text1st"hello thsi is a World"2nd "Yahoo this is nice".now i wana show both on same frame but one by one on button click how can we do that. Pl tell me.

Fullscreen mode alt+tab is not working

7765 byte By Sarjaya at 2007-10-2 22:15:15
I have created a Fullscreen mode application in Linux(that uses Mustang JDK6-Beta version) alt+tab is not working, which by default is used to switch between open windows. Can any body help on this.The below is the code of my example.Thanks in advanceimport java.awt.Color;import ...

Mnemonic clashes

2109 byte By shmokka at 2007-10-2 22:16:18
In our Swing application we use an MVC pattern enabling us to reuse views throughout the application.One of our challanges with reusing views is the mnemonics. A view/panel containing JButtons doesn't not "know" where it will be used. Its mnemonics are read from properties files along with the ...

Desktop to database

194 byte By twintriodea at 2007-10-2 22:17:58
Hello, i am newbieCurently iam designing a java desktop App that needs to query a database in a server (like yahoo mesenger). How can i make this posible (and safe) ? Thanks

getting variable of used favorite inet-browser ?

1123 byte By marcOntia at 2007-10-2 22:22:12
hi,i link from a program to a internet site and i use Runtime.getRuntime().exec() to do this. But i liketo check the system variable for the favorite browser.How can i do this ?marcoitem6.addActionListener(new ActionListener() {public void actionPerformed(ActionEvent e){try{String url = ...

OutOfMemoryError

2511 byte By Shelaha at 2007-10-2 22:24:18
We have a problem in our Swing application where we run out of memory.What happens is, we have a number of objects in a model-view-controller architecture. The user pushes a button that indicates they want to throw away their changes and start again.Originally at this point, nothing got cleaned ...

java program hangs

712 byte By hodhodmimoa at 2007-10-2 22:29:12
Dear all,I have a java program (simulation program) that has extensive computation and storage of objects in trees and arrays. It usually runs in a few hours. Recently, after I made few modifications, I found out that the program hangs for some time. I tried to run it on different machines and ...

Help urgent plz...

447 byte By Cool-Buddya at 2007-10-2 22:35:22
Hello,Java has a character set of 128 char, What to do to display character having ASCII less then 33 & greater that 127?Because I want to display character from ASCII 1 to any value.Actully in Java it is like this 1-32 no ASCII for any character 127 & above it no ASCII.So if I want to ...

do you develop Java Desktop Applications based on netbeans RCP?

171 byte By miaolxa at 2007-10-2 22:42:04
do you develop Java Desktop Applications based on netbeans RCP?-- http://nextbridge.net/netbeans/ ,a definitive source for netbeans plugins information

HOW TO WRITE A DESKTOP APPLICATION IN JAVA

510 byte By tinujosepha at 2007-10-2 22:42:17
Hi guysI am new to JAVA.Doing my garduation.I want to write a desktop application in java, not browser based applet based.I am stuck at some points1)like how can i make the application run like the same way we run an .exe file2)about the database connection"For example, what are the issues in ...

HOW TO OPEN WORD DOCUMENT FROM JAVA?

421 byte By SmiLeJoNa at 2007-10-2 22:44:30
hi everyone! Can you please help me to come with this problem? Let me to set my main target I want to achieve:1) In my program user should first press a button;2) Then already created Word Document should be opened (I DO NOT NEED to open that Word Document in Java or something like JField). ...

How to design the smart client application using the java technology

336 byte By shammya at 2007-10-2 22:45:21
Hello all,I want learn about the smart client and its developmement using the java technology.plz give related links or the example code of a sample smart client application.As smart client also works when offline with resoect to internet applications plz specify the technology to attain ...

question

394 byte By nonamea at 2007-10-2 22:49:58
hi i m new to java and i m doing aa graduation project with it ,plz i need some help here,i want to insert a link in jeditorpane so this link can be hyper link so when the user click on it it open a webpage but now inside the jeditorpane but with internet explorer or any web browser also i want ...

problem add beans in Rapid tools

3452 byte By Sukmanaa at 2007-10-2 22:54:33
dear alli use the simple beans from ( http://java.sun.com/docs/books/tutorial/javabeans/index.html) tutorial. I have tried in BeanBox and there is no problem.However while i tried to another tools (i using Rapid Tools from e-sim), i cannot add this bean. This is the error in Java ...

reports

141 byte By sucharit_naranga at 2007-10-2 22:56:13
hi ,i want to generate reports from Java.can u guide me what format or what software to use thankssucharit

new to Beans and Apache Tomcat - 1st Bean problem !

2590 byte By MrVenjera at 2007-10-2 23:01:47
Hello all. Just to give you some background, I know basic Java and I am more than happy to have a go at something I know nothing about.I am developing a system - for my own personal use (and friends) that will have an Oracle back end and a web browser and mobile phone front end, connectivity to ...

problem while generating stub and skeleton in ejb

1151 byte By nkmba at 2007-10-2 23:03:48
Hi All, I am learning Ejb,i developed a simple hello world application .And i am trying to generate stub and skeleton for that using weblogic.ejbc.I am getting the following errorC:\nkmb\ejb\HelloEjb>java weblogic.ejbc slb.jar<Jun 22, 2006 9:55:35 AM EDT> <Warning> <EJB> ...

Initialize dynamic bean

456 byte By u_maedaa at 2007-10-2 23:06:15
I'm trying to initilize a bean with a parameter of system... is it possible?Something like it:<jsp:useBean id="upBean" scope="page" lass="class.class" > <jsp:setProperty value="System.getProperties("user.dir");"/></jsp:useBean>Of course, this code is wrong, i cant use ...

problem while developing stasteless session bean

1265 byte By nkmba at 2007-10-2 23:09:22
Hi All,I am learning Ejb,i developed a simple hello world application using statelesssession bean in weblogic server8.1.And i packed it in a jar file named slb.jar.Then i am trying to create stub and skeleton using following command,but i am getting this error.can anybody please help ...

Using static methods in JavaBeans

574 byte By rpaturia at 2007-10-2 23:14:25
Hi: I am creating several beans as part of my application. Is it ok, to make all of them static (no global variables are used) and access in JSP's and Servlets as XXBean.method(var1, var 1). Is this a problem ? (vs creating a new XXBean and using it in every page/servlet).I have gut feeling ...

using my own font

272 byte By ali_sadeghisabaa at 2007-10-2 23:20:45
Hi,I am using my own Font in my application. if i give the application to the operator this font is unreachable because it is not copied in the system's font directory.how is it possible to put the font in a folder of application and use it directly?

how to create java bean

335 byte By sure_2912a at 2007-10-2 23:25:37
Hello friends.. This is sure from india.I have little bit confusion in create java bean and where it is deploy in tomcat server.How to call in jsp program.so please help in this concept. I need some sample code for standard action. please kindly to help me friends.I belive you are sending ...

how to create setup

114 byte By flowers_na at 2007-10-2 23:25:49
can anybody please tell me how to create setup for any java application.is there any tool comes to make it.

Retrieving desktop credentials from java

190 byte By phani_virinchia at 2007-10-2 23:32:43
Hi, I want to know how to retrieve the desktop credentials from a java program. Is it possible to retrieve the userid and password that the user used to login into the network.

Sorting ArrayList of Beans by Bean Date attribute

1111 byte By Lunnya at 2007-10-2 23:32:48
Ok so I have my bean class leaveChangepackage test;import java.util.*;import java.text.*;public class leaveChange extends Object implements java.io.Serializable{String Name;String Grade;String Pattern;int numDays;Date startDate;Date endDate;String startDateString;String endDateString;...get() ...

Tomcat Newbie, need help with caching

838 byte By JerryJa at 2007-10-2 23:36:08
I am new to Tomcat. I have a Tomcat web site that generates PDF documents dynamically. I am having trouble because, once the PDF is generated, Tomcat caches the output file and sends the same one to the web client. I need to shut this off so the PDF can be regenerated from new data on each ...

how to install bdk

180 byte By flowers_na at 2007-10-2 23:37:25
i'am not getting from where to install bean development kit.i'am having netbeans ide 5.0 but it doesn't have too.please tell me the correct link.thanks in advance.

write javabeans program using netbeans ide 5.0

101 byte By jolaa at 2007-10-2 23:37:36
I am new to program in netbeans ide 5.0 some one please send me url of tutorial me . thank you

need help @ windows screen-size (excluding size of taskbar)

656 byte By vikas.talwara at 2007-10-2 23:37:39
Hi All,I'm bulding a stand-alone-java GUI application.This application is expected to run both on Windows & LinuxThe content of GUI window is self configration at run time with csvfile.Now my problem is " how to set size of GUI application window"java.awt.Toolkit.getDefaultToolkit() can ...

Fed up with packages !

1599 byte By MrVenjera at 2007-10-2 23:42:12
Hello all. I created a bean called sessionBean which is part of a package beans. It compiles fine (using BlueJ IDE).I am using Tomcat 5.5 and I have a servlet SessionTest that creates a session and populates some session attributes and outputs them to the browser via out.prinln. No problems ...

add sdk to j2me

90 byte By q8za at 2007-10-2 23:42:57
how can i add to an amulator sdk in order to get help in the time i write a program

data on debug

197 byte By q8za at 2007-10-2 23:43:02
how can i make that after i run a profgram i will not get this notes:pre-initpost-initpost-obfuscatecreate-jarand so on...i want to get only the run

Tomcat 5.5.17 reject client certificate

936 byte By glycerina at 2007-10-2 23:43:18
Hi to everybody.I've installed Tomcat rel. 5.5.17 usign JDK 1.5.0_07 using the instructions explained in the SSL section of the tomcat documentation.When I try to use the option clientAuth in the server.xml I encounter an SSL error code 12271 both if my client web browser has a client ...

Playing flash files in java

229 byte By ravisenana at 2007-10-2 23:49:24
hI all,I am doing a desktop application.I want to play a flash file in my application.Is there any way to play a flash file..ie.".swf" files in java.Please help me to do this.Thanks in advanceRavisenan

jvm independent exe files

274 byte By recepcolaka at 2007-10-2 23:51:26
I have created an executable program (.exe) from my classes. it works fine but I want it to be indendent of JVM, hence java. is this possible? otherwise, what is the gain of making exe files from java classes except from being clickable?many thanks in advance,

Which classes from J2SE might be encoded by java.beans.XMLEncoder?

166 byte By x4444a at 2007-10-2 23:53:37
Which classes from J2SE might be encoded by java.beans.XMLEncoder?Is there list of those classes?Now I check it by hand but it's very awkwardly.

Default Property Values

555 byte By millea@fnal.gova at 2007-10-2 23:56:43
I'm sure I'm really stretching here, but is there any way of gettin default property values without creating an instance of the bean? My problem is that I'm dealing with some poorly written beans (imo) which have constructors that start threads, display GUIs, etc... so as my application ...

Saving a password locally and securely

559 byte By JHowa at 2007-10-2 23:57:17
Hi I have built a small network client. Currently it needs two passwords to complete a connection. One for the proxy/firewall and one for the server it is contacting ( note: both connections are over https ).Is there a standard way of securing a local copy of these passwords so the user can opt ...

How to Open a MS-Word doc thru Java...?

283 byte By fritza at 2007-10-2 23:59:46
Hi,I have a requirement of providing a JButton in my app, upon clicking of which, i need to create a Word-Doc ( say xyz.doc & open it ( probably thru Word itself...?!!)Does anyone have a clue/idea as to how we could do this ?Thanks,fritz

Why does JDialog's modal block it's content being repainted?

1889 byte By wf7777a at 2007-10-3 0:04:06
I use a modal JDialog to do a series automatic jobs because it can block any user's input to the owner of the dialog, but the processing result can not be updated to the screen. if set the modal false, then the result will be updated, but the user can click the mainframe who is the owner of ...

How to create EXEs?

124 byte By archangelmorpha at 2007-10-3 0:05:56
I'm using netbeans at the moment and I want to figure out a way to create an EXE for my classes.. is it possible or?

add picture to j2me

160 byte By q8za at 2007-10-3 0:10:20
i need to add this line:imTarget= imTarget.createImage("/girl.jpg");but i get an error that he can not find the picture - what should i do?

How to create jdbcconnection in bean.....

130 byte By sure_2912a at 2007-10-3 0:11:44
Hi developers.. How to develop jdbcconnection inside bean please send examples.with regardssure....:)-

playing a flash file in java

166 byte By ravisenana at 2007-10-3 0:12:18
Hi all, i need to play a flash(*.swf) file within my desktop application. can anyone help me with a sample code.Thanks in advanceRavisenan

JPanel to image

413 byte By ravisenana at 2007-10-3 0:16:56
hi all, I am using JTabbedPane. I just want to have a look at the contents present in all the tabs in a single frame.Just like having a thumbnail view of all the tabs within a frame.Is it possible to do so... In order to do that,can we convert Jpanel in each tab to image and scale it to ...

Java API needs to be notified of changes in Excel spreadsheet

446 byte By paultaylora at 2007-10-3 0:18:05
I need my java application to react to modifications made to an excel spreadsheet, so if a cell is changed in the spreadsheet my java app receives the event.The following commercial software does what I require but I needa free ...

Application Example with Java

202 byte By panji_tengkoraka at 2007-10-3 0:18:28
where i can find the application sample with java following source code.for example :Inventory system or Financial System.i will study the java with this sample.thanks