Overblog
Suivre ce blog
Editer l'article 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

Published by Oracle Forms community - dans PJC - Text items
commenter cet article

commentaires

emad jebril 29/06/2011 21:34



Version Of JInitiator is  1.3.1.22 and Java Version is 1.4.2



Oracle Forms community 30/06/2011 06:13



I suggest you to continue this discussion on the Java Bean/PJC forum (in the PJC
sub-forum), so that more people can participate.



Emad Jebril 29/06/2011 12:39



Hi


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


java.lang.NoSuchMethodError: javax.swing.JEditorPane.setFocusable(Z)V


could you please help me to solve this problem


 


thnx



Oracle Forms community 29/06/2011 19:30



Maybe you use a too old version of Java. Please, when you put comments, give the exact versions of Forms and Java (JInitiator)