Combo Box Problem

1110 byte By kdevdattaa at 2007-10-3 3:23:10
Hi Everyone,I am having a problem with a combobox in my application.Actually I am trying to load the Groups from my groups table of my database to the combobox in order to give a selection combo for the parentgroup field in my database table.My database table is like this:Column Name | ...

exceptions at the start of the run

305 byte By q8za at 2007-10-3 3:23:36
at the strat of the run i get a lot of lines that say somthing like this:TRY(1):env: 0x12fa84, throwable: 0x7c9106f0, tmpRootsCount: 0TRY(2):env: 0x12f7a8, throwable: 0x83, tmpRootsCount: 2after this line:Starting emulator in execution modwhat to ...

How to stop a new window from taking focus

515 byte By adrianbasheera at 2007-10-3 3:26:09
Hello,I have an application that brings up alerts when an event occurs. The alerts are actually toasts (similar to msn messenger alerts when someone comes online).My problem is that if I am working on another application, for example notepad, when the alert comes up, it takes the focus away ...

Convert html documents to PDF

202 byte By Amodnka at 2007-10-3 3:26:38
Hi All,I have PDF writer(licenced) installed in my system. Can use the same and programatically convert html/any documents to PDF format in java.Please suggest.Thanks in adv.

Hot Spot JVM Crashes Urgent pls help

32301 byte By jagdishraoa at 2007-10-3 3:27:35
Hellow expertsconfig-Java 1.5.0.08tomcat 5.5.17Os :Ubuntu Dapper Linux and Windows Xp PofessionalJasperreports1.2.2.jar for reportsMysql Databse 5.0i am working on a Swings based Java appl where i am using jasper reports.the database is Mysql.i have some reports which are simple listing of ...

Addressing an Envelope

92 byte By 9Welshmena at 2007-10-3 3:34:29
Hwo does one insert an address from an address book onto an envelope (Star Office 8)?

Systems default texteditor

361 byte By photo_mania@web.dea at 2007-10-3 3:36:10
Hi there!I think this may scratch on system-indepence... but there are other methods implemented that do so in a similar way... so let's try it :-)Is there some method to call the systems default programm for textfiles, images, mails etc? Nothing more but calling it with a filename or a list ...

javabean implements java.io.serializable interface

349 byte By divya_garga at 2007-10-3 3:40:22
Hi AllAccording to Javabean specification,Section 5.4, it states that javabean components persistence is done through source code generation to reinitialize bean component's state.What happen's if a person is used a text editor and not an IDE to write the bean classes.Pls reply asap.Thanks n ...

Novice: How to start?

141 byte By aniket.ariesa at 2007-10-3 3:41:37
I ve downloaded the BDK 1.1 but am not able to use it..I guess it requires some "prior-settings" to be done..Pls can anybody help me..

Java desktop application launcher exe

1346 byte By JMembera at 2007-10-3 3:41:43
I have written a JSE desktop application which i want to launch using a launcher exe. So that users are not bothered about the location of the compatible JRE.(I am not bothered about cross platform issues. I would be happy with a windows only solution :-)I had written a small C program which ...

Running Desktop app via shared folder.

420 byte By k_smolkaa at 2007-10-3 3:45:51
Hi AllI have been experimenting with deploying a desktop app over a network by simply running a jar file located in a shared folder on a server.I have been having mixed results and have even managed to get the JVM to crash.Do any of you have any experience with deploying apps this way, as is it ...

JavaBean does not work

2159 byte By Nguyen_Toma at 2007-10-3 3:48:36
I have these code for JavaBean but they do not work properly.1/import java.util.*;public class NumberEvent extends EventObject{public int number1, number2;public NumberEvent(Object o, int number1, int number2) {super(o);this.number1=number1;this.number2=number2;}}2/import java.util.*;public ...

How to use a custom jDialog ?

284 byte By BorgoJa at 2007-10-3 3:49:02
Hi to everybodyI have a little custom jdialog with only a jTextField inside.I'd like to know how to call it from another JFrame and then read the text which the user have written.Any advices ?Thank u in advance and greetings from ItalyAndrea

hi, tomcat connection pooling problem

7932 byte By kirankumarvemulaa at 2007-10-3 3:51:11
hi friends, i am new to j2ee, i am geting problem while creating connection pooling, plese somebody help me what is the mistake i am doing.i am using tomcat 5.0.28, i am created a jndi refference with name oracleDB.the server.xml file is like this <Context path="/websample" ...

sending commands to the system

194 byte By ChadNCa at 2007-10-3 3:54:55
I would like to send a command to the java compiler from an application and was hoping someone could explain it to me or point me in the direction where i might information on doing this.

How to add a image to a lable

146 byte By rpthilania at 2007-10-3 3:55:32
i have added an image to a label, but at the runtime it gives a exception as a source not found, i want to know the way of adding an image.

How to run a beans from a JBoss Server

189 byte By SanjanaBa at 2007-10-3 4:00:35
Hello guys, I want to use a JSP application that calls a beans. How can I do that?Please specify the complete process including whether any classpath that is to be set.

BDK installation Error

669 byte By Godsownmana at 2007-10-3 4:01:34
Hello, I'm trying to install BDK but I cant get to the first step I receive this error . [URL= http://img346.imageshack.us/my.php?image=bdkerrortu1.jpg][IMG] http://img346.imageshack.us/img346/2589/bdkerrortu1.th.jpg[/IMG][/URL]If this doesn't show up please click here ...

Class Deconstructor

276 byte By watertownjordana at 2007-10-3 4:08:50
I need some pointers to better tools for deconstructing a class file into the original code.I've seen a few tools - including the Java SDK tool.What do you guys use? I don't need anything visual, but I need to extract specific strings and UI components.

Problem relating JasperReports

121 byte By Dev@nanoa at 2007-10-3 4:10:44
i'm using jasperreports in my desktop application. when i close the report displayed the application also closed.

java Beans

324 byte By soniska at 2007-10-3 4:11:03
Hi to All,please help me....I down load java beans in my C directory. and I have java in my H directory,when I test my beans or creat action it show could not createevent adaptor.I am using OS Windows XP.please guide me is any path changing is required.please help ...

How to tell if multiple files are selected when they are opened in windows

831 byte By _maxmkleea at 2007-10-3 4:19:40
Hello, can someone help me, my question is how to tell if multiple file selections were made when they were opened (right-click->open). Through modifying the registry I already have my Java program start up when a file with specific extension is double-clicked. The problem is when multiple ...

bdk

342 byte By jeswina at 2007-10-3 4:24:26
hi my name is jijo.i have some experience in programing.same time i am learning java through self study.my question is how to work BDK in my system.i am using windows xp.several time i tryed to download bdk but not possible.please tell me how to down load and install to my systemthaking ...

The mechanisms of EJBHome and EJBObject

1948 byte By liaodongyana at 2007-10-3 4:25:32
The following code snippet is a typical procedure to locate remote references to EJBs. My question is whether the instances of remote references EJBHome and EJBObject exist on both client and server sides? In this case, I found that the class names for the ConverterHome and Converter objects ...

Convert Microsoft Word HTML to plain HTML

498 byte By anestikasa at 2007-10-3 4:27:21
I use JTextPane to open HTML files. The problem is that they were generated using Microsoft Word, so the JTextPane does not show them correctly.I was looking for a free library that can do the conversion, but I only found POI which is far from ready.Do you know any other library I can use (even ...

TableSorter class never ever calls getModelToView()

357 byte By petrushkaa at 2007-10-3 4:28:08
I am using TableSorter class to sort tables. There is a piece of optimization code that never gets called: getModelToView(). For that method to be called a check is performed (modelToView != null). But modelToView is assigned inside that method! This causes a single cell update to trigger ...

Downloader Sample Code

243 byte By MY_JAVA_FORUMa at 2007-10-3 4:31:27
Hi,I'm Trying to make Desktop application that download specified File from web it's like download tool If any one know or have sample code or can help me with the code I抣l be grateful Regards,Charbel Asmar

form bean problem

1196 byte By Neo2001a at 2007-10-3 4:31:43
Hi friendsim using struts framework.1) i have a welcome.jsp. associated to it is a ActionForm and Action class. my form has a text field <html:text property="fname"/>. In my ActionForm class i have written all getter and setter methods. and validate too.2) Now when i submit this fname is ...

About executables in Java

526 byte By asdgfa at 2007-10-3 4:35:02
Hi all,I've heard that it is possible to create an .exe file written in java.Till now i thought that a compiler creates class files that are executed inside VM. On the other hand .exe files are executed by the Operating System, right? Isn't it a little weird? Besides there is no compiler ...

Transaction Timeout using Weblogic when working with Oracle

443 byte By jteam012a at 2007-10-3 4:37:10
Hello everyone,I use a stateless session bean which has 30 seconds time out.My bean is type of CMP.My bean calls a procedure in Oracle 9i.This action takes more than 30 seconds, but timeOutException does not thrown!A timeOutException is finally thrown only after the procedure ended -after 5 ...

JavaBeans in JSP -Reg

641 byte By RAGHU001a at 2007-10-3 4:44:32
Hi While creating the bean class i create the package Mybeans and then i wrote the bean class and i use that package in jsp page for the class attribute . when i am calling the JSP page using Tomcat i am getting package does not exist. sample code below For java bean classpackage Mybeansclass ...

After PDF to jpg image conversion, bad quality in image

447 byte By vkrshankara at 2007-10-3 4:46:15
Hi,I am using Jpedal.jar, jai_core.jar and jai_codec.jar (old versions) in my code.It is working fine in production environment. But in Testing environment, after some server migration, image generated is not clear. Generated jpg image has some box like structure instead of having ...

Java heap space error - Very Urgent

351 byte By ravisenana at 2007-10-3 4:46:34
Hi all,I am doing a Desktop application.... I am using swings..... While using my application i get the following error.I have no idea about this error.Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spacePlease help me in solving this problem.Its very urgentThanks ...

Werblogic 9.2 ejbGEN

3225 byte By eeshwar_1977a at 2007-10-3 4:48:32
i am tryinng to create EJB CMR relations using @Relations using annotationsbut i am unable to get Descriper filesfind the codepackage com.ft.bigben.entitybeans;import javax.ejb.CreateException;import weblogic.ejb.GenericEntityBean;import weblogic.ejbgen.CmpField;import ...

How to track all the requests to a method of a java class

458 byte By surekhaa at 2007-10-3 4:51:25
Hello,I am using a static method called getConnection() in OS3Connection.java. This is the dao I used to get database connection from any DAO. Now I have to track all the requests made to this method (OS3Connection.getConnection()) i.e from which DAO this method is called ..... etc...... Is ...

How run beans inTomcat

786 byte By Dan2006a at 2007-10-3 4:52:32
My Tomcat Server doesn't recognize my bean classes.It show the error message:The value for the useBean class attribute CounterBean is invalid..Do i need install something?the jsp arquive: <%@ page import="com.jguru.CounterBean" %><jsp:useBean id="session_counter" ...

JavaHelp generated from AuthorIt

121 byte By Dian.Kjaergaarda at 2007-10-3 4:58:23
Does anyone in this forum have experience with JavaHelp generated by the content management system AuthorIt (AIT)?

PPT to JPG

181 byte By SkAnkera at 2007-10-3 4:59:09
HiI'm trying to convert PPT (PowerPoint document) to JPG in Java. Does anybody know how to do this conversion ? Thank you( and sorry for my english ;) )

Writing files in Swing

236 byte By Emyra at 2007-10-3 5:04:17
Hi folks, me once again,I'm in the process of writing a simple text editor, and I'm having a great deal of hassle getting the thing to save the contents to a disk. Any help would be greatly appreciated.Emyr

open source java desktop applications

302 byte By aus_java_studenta at 2007-10-3 5:10:29
Hi all,Can someone direct me to a simple open sourced java desktop application (not from java tutorial).I had no luck finding one myself. It seems to me there isn't many out there. I found open workbench but thats too complex for a beginner like ...

How to change the width of the listbox of the combo?

225 byte By FishInWatera at 2007-10-3 5:17:11
Hi everyone,who can help me? or give some code for me?I put a combox in a window, but the listbox is narrow than the item.How can I do to make the same width with the item?thanks in advance,

After PDF to jpg image conversion, image generated upside down

307 byte By vkrshankara at 2007-10-3 5:18:46
Hi,Now i have replaced the latest .jar file for Jpedal, jai_codec, jai_core and have made modifications in the code to fit the latest version of the .jar files.But the image is getting generated Exact Upside Down. How can i resolve this issue?RegardsRavishankar V ...

JSF + DataTable + ArrayList

9178 byte By electrosama at 2007-10-3 5:20:52
I want use an ArrayList into a DataTable in JSF application, but the JSP give an error.my JSP Page is:<h:form id="SRD"><h:outputText value="Status: "/><h:selectOneMenu value="#{catalogo.noStatus}"><f:selectItems ...

Novice question about compilation

497 byte By cefa at 2007-10-3 5:27:44
I have created the following Java code using Notepad as a text editor. I did not get any errors when compiling, but for some reason the compiler did not create a class file. Any ideas on why this would happen?/*Program Exercise 1Attempting to display a frame window*/import javax.swing.*;class ...

Strange GUI output

644 byte By Duke-what-a-great-teddya at 2007-10-3 5:27:46
HI all,I'm writing a program that will simulate dance lessons. You can get my code over here: http://blommethomas.downfire.com/JDance/If you download, compile and excecute this, you should see a frame with a JTabbedPane on it: this should show "Write File" and View File" Tabs,if you click view ...

Java HTML form filler

915 byte By colmtourquea at 2007-10-3 5:33:22
I have a problem, the department I work in has been asked to input 1000 records into a webbased db, I would like to automate part of this process, I've done php, and mysql and other web programming, but i'm brand new to java. I've ran accross a couple forms about ...

Session numbering

581 byte By padola07a at 2007-10-3 5:33:27
Alright here's what I am trying to do. I have a desktop application and many of my users have more than one instance of the application open at a time .. each one can spun multiple frames. They will like all the frames relating to a one instance numbered or tagged in some way in the title ...

JSP + JAVA Beans +Torque

227 byte By jayansha at 2007-10-3 5:39:41
Hey,I am using Torque to connect MySQL DB to JSP page, so I am using JAVA Beans, which is created by torque, I wish to use pagination to retrieve the entries from database, plz tell me how can I implement it here.

Java Beans with JDBC

1031 byte By RAGHU001a at 2007-10-3 5:43:11
hi Guys i wrote a bean for the database connection. In my bean i use the class Product for creating the instance .Code goes like this ResultSet rs = s.executeQuery(sql);while (rs.next()) {Product product = new Product();product.id = rs.getInt(1);product.name = ...

how to determine is a java app is running in development mode

374 byte By ashrestha at 2007-10-3 5:44:42
i am stumped with this problem. i am developeing a app in eclipse, and there is a update feature that i do not want to run when i am running the app from eclipse. now when i was developing in visual studio there was a property which i could use to determine if the programming mode or not. i do ...