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 ...
could any one can give me the java code for generating 5 digit random number.
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 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.
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 ...
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 ...
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
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 = ...
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 ...
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 ...
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 ...
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
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 ...
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). ...
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 ...
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 ...
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 ...
hi ,i want to generate reports from Java.can u guide me what format or what software to use thankssucharit
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 ...
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> ...
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 ...
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 ...
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 ...
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?
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 ...
can anybody please tell me how to create setup for any java application.is there any tool comes to make it.
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.
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() ...
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 ...
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.
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
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 ...
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 ...
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
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
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 ...
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
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,
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.
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 ...
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 ...
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
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 ...
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?
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?
Hi developers.. How to develop jdbcconnection inside bean please send examples.with regardssure....:)-
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
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 ...
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 ...
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