Overblog
Editer l'article Suivre ce blog Administration + Créer mon blog
26 juin 2011 7 26 /06 /juin /2011 08:27

Purpose

Here is a Pluggable Java Component from Andreas Weiden, to have a "Card" item style within a single Text Item.

CardItem PJC



The Java source
 

     CardTextfield.java



The implementation class of the PJC (TextItem Item)


     forms.CardTextfield


The PJC initialisation


    
Read the content of the PK_CARDITEM package from the CARDITEM.fmb sample dialog





The sample dialog

     .
Download the carditem.zip file
     . Unzip the carditem.zip file
     . Copy the carditem.jar file in your /forms/java/ folder
     . Add it to the archive and archive_jini tags of the /forms/server/formsweb.cfg file
     . Compile the PKG_READ_BLOB_IMAGE.sql script in your database schema
     . Open the CARDITEM.fmb module (Oracle Forms 10.1.2.0.2)
     . Compile all and run the module

 

Partager cet article
Repost0

commentaires

E
<br /> <br /> Version Of JInitiator is  1.3.1.22 and Java Version is 1.4.2<br /> <br /> <br /> <br />
Répondre
O
<br /> <br /> I suggest you to continue this discussion on the Java Bean/PJC forum (in the PJC<br /> sub-forum), so that more people can participate.<br /> <br /> <br /> <br />
E
<br /> <br /> Hi<br /> <br /> <br /> I run the module and assign the jar file in formsweb and copy it to java file but when i execute it  he give the following error<br /> <br /> <br /> java.lang.NoSuchMethodError: javax.swing.JEditorPane.setFocusable(Z)V<br /> <br /> <br /> could you please help me to solve this problem<br /> <br /> <br />  <br /> <br /> <br /> thnx<br /> <br /> <br /> <br />
Répondre
O
<br /> <br /> Maybe you use a too old version of Java. Please, when you put comments, give the exact versions of Forms and Java (JInitiator)<br /> <br /> <br /> <br />