.jar Files with BDK/JavaBeans tutorial

489 byte By plsames at 2007-9-26 1:31:58
I am taking the JavaBeans tutorial availabe on the sun website, and tried to write, compile and load the SimpleBean bean/.jar into the BeanBox.The code compiles, and the .jar file is created with the manifest file and the .class file. When I try to load the .jar file into BeanBox, however, I ...

How to create a dynamic Pie Charts ?

457 byte By LearningSTF at 2007-9-26 1:40:14
Hi all,I'm a newbie whose have to create a PieCharts in order to put it on a web site (using JSP, Tomcat). I know that the best way to build dynamic (data coming from db) pie charts is a beans, but I never did a Pie charts before, therefore I'm a little bit in the dark. I've succeed in ...

Merging HelpSets

724 byte By tom_haywood at 2007-9-26 1:45:11
I would like to be able to load components thathave their own help, and on loading merge thehelp sets, so that help for all loaded componentsappears in the one browser window, both in thecontents, the index, and the search pane.It appears I should be able to do this, howeverI am unsure. The ...

ActiveX to Java (?)

491 byte By LaiSen at 2007-9-26 1:46:39
I'm looking for ways to connect Microsoft based GUI code to Java back ends.Does anybody know, if I can use the ActiveX bridge to do that? An idea would be, for example, to subscribe to a JMS topic in the bean and then package the bean to be used for communication with the server side ...

custom property editors part II

625 byte By mctaff at 2007-9-26 1:50:25
I have a custom property editor that sets up an array of values, plus an associated string.I am having problems being able to use these items (setup in the property editor) from the object on which the property exists. eg suppose i had a property Colour on an Object Door, I set the Colour to ...

JavaHelp - Problems with HelpBroker

243 byte By spunk at 2007-9-26 2:05:49
Hi, my HelpBroker (JavaHelp for an application) doesn't work in correct way, HelpSet is found but not shown (without an error-message). Has anybody an example-code of a working HelpBroker for me?Thanks *****

Javabeans - Active X Packager -- Dispatch Error

1169 byte By sai_karthik at 2007-9-26 2:10:11
Hello EveryoneI tried to pack a class containing a simple methode.g:public class Test{public String getName(){String name = "humanbeing";return name;}}I used Visual Cafe with Jdk1.3 to get a jar file and used the Javabeans-ActiveX bridge to get 1. Test.tlb2. Test.reg filesWhen i Opened ...

removing default 'handles'

301 byte By stcampbe at 2007-9-26 2:15:34
HiWould anyone know how to remove those pesky node handles from each category in Java Help? I have managed to display other images to replace the default category and topic images and also the top level folder but i'd like to remove the node handles too. Any ideas?Thanks. ...

How can I access specific help for modal dialogs by pressing F1

666 byte By hiobsun at 2007-9-26 2:28:49
So far I have loaded a helpset, created a helpbroker and I'm able to view context sensitive help for menu items and components in the main frame of my application.I can also view help by adding the following line to my modal dialog:mainFrame.helpBroker.enableHelpOnButton( helpbutton, ...

help window blocked when accessed from modal dialog

363 byte By hiobsun at 2007-9-26 2:28:52
Activating my CSH from a modal dialog leaves not only the main frame inactive but the help window as well preventing further navigation in the help.Do I have to start the help in a separate JVM earning a load of communication problems or is there an elegant way to circumvent this ...

Java, Beans, XML and serialization.

812 byte By Xuelynom at 2007-9-26 2:37:18
Hello, i'd like to have some answers to thoses questions:Im coding a programme with "graphs" inside JInternalFrames and i would like to save them and what is inside (panels, with panels inside and dnd listeners and my lord, a lot of things indeed).Can i just use XMLEncoder/XMLDecoder to ...

The need for java beans ?

345 byte By mmartinh at 2007-9-26 2:40:58
Hi all,I just began to look into java bean technology and began to wonder who is exaclty creating java beans ( is there a big demand for thier development) what types of applications are using them and are there examples of these to be seen...just looking for more of an ...

Drawing a picture ?

440 byte By stfohr at 2007-9-26 2:44:48
Hi all, As a beginner I want to set up (create) a Bean able to create picture (using AWT) as a Pie Chart ?But anyway I don't know how to approach this kind of problem. I did a bean that return simple HTML bar chart (which is not using AWT classes), but it's more difficult to create oie ...

search but result is not correct marked!

230 byte By testy2 at 2007-9-26 2:45:57
hello, when i try to search for e.g. button in my javahelpdatabase, the results are not correct marked,result e.g. for search buttonbu'tton p'laythe sequence between '' is marked, why?

How to convert a Windowshelpfile to Javahelp?

472 byte By Urmech at 2007-9-26 2:52:10
Hi, i'm searching for an easy way to convert an existing Windowshelpfile (*.hlp) to JavaHelp.Cause I'm developping an Applet I just can't use Runtime.getRuntime().exec("winhlp32 Somehelp.hlp" ); It's quit easy for a standalone application (under Windows), but contextsenitiv is been lost and ...

AWT Component as a BeanContext

389 byte By ibamsey at 2007-9-26 2:54:02
I want to create a JComponent that is a BeanContext. I've read the tutorial on BeanContexts which suggests this is achieved by implementing BeanContextProxy. I guess this is something like:class MyComponent extends JComponent implements BeanContextProxy {}However, I'm not sure how this is ...

how can i do this!!!

494 byte By siv-viv at 2007-9-26 3:02:18
hello,i have a bean which gets the users name and password using two methods called getuser()and setuser() what i have got struck is that i should get this values into a class which has a method like this Geninfo("user" , pass") ; actually the values which i get from the bean properties should ...

inheritance/containment and beans...

846 byte By jplerxt at 2007-9-26 3:08:18
I have an object whose functionality is spread out over 3 classes: an abstract base class with a contained GUI class and a concrete derived class. I want to make this into a java bean. Is this possible? All the examples I've ever seen do not have this functionality distribution. Here's what I ...

Basic Question about Java Bean

225 byte By sun_zorro at 2007-9-26 3:10:55
I just started working with JavaBean. I have been reading the concepts involved but I still have problems understanding the difference between a normal object and a bean . Can anyone tell the exact difference ?

Turning JavaCode into JBeans

245 byte By johrik at 2007-9-26 3:13:16
Hi all...I am trying to take as input some BASIC java code and upon some user interaction i.e. clicking a JButton to convert the Java into JBeans code. Any comments/direction or help, much appreciated.Thanks...

distributing javahelp with an app

718 byte By stcampbe at 2007-9-26 3:16:00
HiI have an application which uses JavaHelp and this works great on my development workstation. I wanted to distribute my app at this point and wondered if anyone could tell me what i'm missing to get the JavaHelp system working on another machine. I haven't packaged anything separately, it ...

Java Beans and Visual Basic

261 byte By gurmeet_bhatia at 2007-9-26 3:26:41
My Client has a Visual Basic application running and he wants to create a Java application on top of it (Some EJBs ), i would like to know how i can i start with that.Please let me know...if anyone out there has an answerit is urgent

Custom Property Edtor

447 byte By SuperMMX at 2007-9-26 3:42:33
I know most of java beans are based on gui, but, now I want to ask a question about property editor of a bean which is notbased on gui.If I use Introspector to load my bean dynamically, is it possibleto set the property using a property editor by geting the setterMethod and calling ...

a simple problem

932 byte By yilmazay at 2007-9-26 4:03:22
hi all,i know it is a simple thing, so that is why i couldn't find a solution(since it is tooo simple) :)i want to insert current time into hte database as well as other data. My problem is how to get current date (and time ) in java?i tried java.sql.Date Time=new java.sql.Date.Date(); ...

How to get the system properties

470 byte By siv-viv at 2007-9-26 4:44:35
My problem: i need to get the client's "user name" by using javascript , is it possible?The problem is in my jsp page if i say<%=System.getProperty("user.name");%>it gives me the root user name, but what i need is the username of the client (if a person opens my jsp page then ...

BDK Error

735 byte By johrik at 2007-9-26 4:51:46
Hi all...I was trying to link/connect 2 Beans in the BDK, the Juggler Bean and ourButton. When I tried everything was fine untill I tried pressing the button which resulted in the following error message in the DOS prompt, and no actionPerformed, thus nothing actually happens. The problem is ...

A basic bean question

385 byte By lj75 at 2007-9-26 5:12:17
Hi:I am not very sure what is meant by "properties of a bean". In setProperty action..when you are setting the properties of a bean..what exactly are you setting?Are properties just methods in the bean? and when you are setting properties, are you matching the parameters of all methods in that ...

JSP page 'talking' to a bean class ?

1507 byte By JIMWOK at 2007-9-26 5:41:35
I am just starting to work with JSP for my MSc project in computing and have downloaded the JSWDK which is installed and operating correctly as the examples for JSP and scriptlets will run OK. I also have very simple JSP programs working on their own and displying simple result such as hello ...

Copy/Save Html file

174 byte By bklow at 2007-9-26 5:52:49
HiIs there any exisitng API/JavaBeans for saving and copying HTML file together with its dependencies (e.g. other files referred in 'href')?Boon

PersistenceDelegate

181 byte By gussev at 2007-9-26 6:50:12
Hello,I would like to subclass the PersistenceDelegate.where may I find some info how I could do it ?And much better an example ?Thank you.

Which one to use JBeans or Swing?

247 byte By jamesliJ at 2007-9-26 6:58:17
I am really can not decide which tool to use. I would like to develope a GUI based project for customer caring & managment etc. But not sure yet which one to use Swing or JBeans?Please advice. Thanks JL

how can i set the image icon in javahelp?

160 byte By whizlabs at 2007-9-26 7:03:16
hi guys,i wan to change the icon (java cup) at the left corner of the frame used by javahelp. How can i do this?thankspradeep

introspecting inner class

249 byte By bommineni at 2007-9-26 7:18:14
How do I introspect an inner class of a package from a class of another package?I am getting IllegalAccessException while introspecting.This is nothing but package restrictions in Java. But is there any solution for this?

JavaBeans unsupported?

303 byte By KarlJay at 2007-9-26 7:37:20
I went to sun to get JDK1.1 and noticed that it said it was not supported or being developed. I'm looking to start learning it and I'm currently using JDK1.3What's everyone else using and did you get it from sun? Should I worry about it not being developed?Thanks karljay. ...

!?!?!?!? JavaBean->ActiveX. How can I do that? !?!?!?!?!

806 byte By tailorman at 2007-9-26 7:41:32
Hi.I have to develop a java class that should work as a ActiveX-Component. It does not have to be visible (not yet).Now I've read about those packager or wrapper things. Also, I've read about the plug-in. But actually, how do I have to use those tools, or wathever it is? Is there no ...

Search not getting the results I want

181 byte By gwest2 at 2007-9-26 7:45:26
Search returns part of the word being searched or something completely irrelevant. Hasn't this been fixed? I see others are having the same problem with no responses.

Location of JavaHelpSearch folder?

720 byte By waimna at 2007-9-26 7:51:44
Hi all,I am trying to place my hs file in a different directory than the JavaHelpSearch folder (the folder contains the indexes to search my help html pages). However, my SearchView does not work unless I placed the hs file and the JavaHelpSearch in the same directory. Does anyone knows what is ...

JavaHelp without Swing

64 byte By peter2y at 2007-9-26 7:54:27
How can we use JavaHelp without Swing -components?

Cleanup of non-graphical Java Bean

798 byte By chris_williamson at 2007-9-26 7:54:52
I'm currently working on a non-graphical javabean that manages serial communications with a piece of our companies electronic hardware. One of the properties of the bean is "connected", and this property governs whether or not the bean has acquired control of the serial port.The problem I have ...

Making relative calls to jar files

470 byte By delaneyphilip at 2007-9-26 8:00:31
Hi,I want to access my help system from within a jar file using the jar protocol. The issue is that I don't want to enter a fixed path to my jar file. I want something relative like this -URL hsURL = HelpSet.findHelpSet(null, "jar:file://..\myjarfile.jar!/myfile.hs);An not something fixed like ...

Packager creates ActiveX-Control. Is there another option?

437 byte By tailorman at 2007-9-26 8:03:12
Now I've got it with that packager (it wasn't easy). But I have another question: Is it solely possible to create a control? I don't want a control because I don't need a GUI. And because I don't want to use a form in my VB project I don't have a control. Is it possible to create a simple ...

Customizer can't reflect the property changes in a bean to the project code

449 byte By levels at 2007-9-26 8:09:20
I am setting a few properties of the bean through a customizer. My problem is that though the selected property value is saved (or set) at the design-time in the bean customizer using set_methods; it's not getting reflected in the code of the project where the bean is, at run-time the bean ...

Pass an object to an applet from a JSP file?

350 byte By dirre at 2007-9-26 8:30:41
I have a Applet that I load from a JSP page however I need to pass this applet a Vector from this jsp file that is loaded from.CAN I PASS AN OBJECT (here a vector) FROM A JSP FILE TO A APPLET ?if not how can I pass this vector to my applet?please if u have any kind of comments I will highly ...

JNI_OnLoad exception on Beans.instantiate

2492 byte By jzx at 2007-9-26 8:39:32
When I invoke a jsp (on tomcat) that uses Beans, an error of "java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad" is thrown. It looks like java.beans.Beans.instantiate() somehow references java.awt.Component which in turn instantiates sun.awt.DebugHelper. Apparently DebugHelper ...

Serializable classes which aren't....please help!

690 byte By irvingdi at 2007-9-26 9:04:44
Ive been looking over a class that is used from a JSP with the useBean tag.The class has been made serializable, and the accessor/mutator methods seem to be written properly.The problem is that the class contains Non Transient, Non Serializable members, and does NOT provide readObject, ...

JavaBeans and Images

1658 byte By trejkaz at 2007-9-26 9:08:24
Most bean building tools I've discovered so far have no way to stick images or icons on JLabels or JButtons, which is a bit of a pain. I assume this comes down to the fact that Image isn't serialisable, so as soon as you put one on a JLabel for instance, the JLabel isn't really a bean.I was ...

Help with jindexer

400 byte By javaHelpRequired at 2007-9-26 9:56:15
Hi,I created a Topics directory with the html files in them. I ran the jindexer - it creates the JavaHelpSearch with only two files - POSITIONS and Tmap of which POSITIONS is an empty file. I executed the following command:C:\MyDir> C:\"program files"\jh1.1\javahelp\bin\jhindexer .\TopicsIs ...

javabean destroy

311 byte By rossifumi80 at 2007-9-26 10:02:38
I'm using a Java Bean in my application. An HTML page invokes a bean's method that opens a database connection, saving it into the same bean. I would like to know how to do to close the connection when I close the application and I delete the bean.Thanks in advance.Daniele. ...

Cannot make a class Serializable but I need to!!

632 byte By olivierjeudy at 2007-9-26 10:02:45
Hi. I have a pretty complex problem with a javabean application. My javabean application is bundled in a jar fileThis application needs a Database to run. I had to bundle the Database driver INSIDE the jar file, along with the javabean application. The problem is:- When I try to serialize my ...

JavaHelp/Browser/Plugin - HowTo ?

737 byte By ARSU at 2007-9-26 10:03:05
Dear members !I'm a newbie to this topic ...I make an application which runs in a browser window, and I want to use JavaHelp.In IE, my browser wants to install Java Plug-in 1.3.1.But that file is about 5 MB !!!Do I really need this 5 MB ? I have located a file on our network ...