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 | ...
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 ...
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 ...
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.
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 ...
Hwo does one insert an address from an address book onto an envelope (Star Office 8)?
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 ...
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 ...
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..
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 ...
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 ...
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 ...
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 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" ...
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.
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.
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.
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 ...
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.
i'm using jasperreports in my desktop application. when i close the report displayed the application also closed.
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 ...
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 ...
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 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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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" ...
Does anyone in this forum have experience with JavaHelp generated by the content management system AuthorIt (AIT)?
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 ;) )
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
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 ...
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,
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 = ...
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 ...