Overblog
Suivre ce blog Administration + Créer mon blog

Search

Free tool

Look and Feel Project

25 mars 2007 7 25 /03 /mars /2007 09:58
Chet Haase and Romain Guy have just published a book about "Developing animated and graphical effects for Java applications".
I have not read it yet, but, knowing the reputation of these guys, I am sure that it is most certainly a gold mine for every Swing developer.

Read the article
Partager cet article
Repost0
21 mars 2007 3 21 /03 /mars /2007 16:07

Could you imagine an article that discuss about serious Java IDEs that does not take into account the Oracle JDeveloper tool ?
No, this article is not serious!
See the Frank Nimphius comment

If you want to write to the author, here is his email adress: jacek.furmankiewicz@compuware.com

Francois

Partager cet article
Repost0
23 février 2007 5 23 /02 /février /2007 14:45
Here is a Java bean that allows the Drag 'n Drop within a Swing JTree item.

This bean is proposed by Minas Lyrakis from Greece.


Swing JTree

This bean uses itself the DispatchingBean of Tom Cleymans. (so it needs the sun Java plugin 1.4 at least)

You can Drag 'n Drop nodes within the same tree but also from one tree to another as well.

    Read the article
Partager cet article
Repost0
7 février 2007 3 07 /02 /février /2007 14:27
Here is a package that allows the dispatching of events from Java Beans to Forms on Beans that extend VBean, beans that use the FBean package and also PJCs !
No, you are not dreaming and there is no mist on your glasses, a PJC that dispatch event to the form module !

Dispatching events You know that a Bean that extends VButton or VTextField for example cannot use the dispatchCustomEvent() method to send message to Forms, so how could this be possible ?

Tom Cleymans from Belgium brings here the solution.

He decided to attach a class that extends VBean to each PJC, so that it can use the included dispatchCustomEvent() method to send messages to the corresponding Forms' module Bean Area.

As brilliant as simple !

Read the Tom's article then do what you are searching for years .


Partager cet article
Repost0
3 février 2007 6 03 /02 /février /2007 19:38
Here is a sample that explains how you can upload any local-machine document onto a database BLOB column via a single JSP page.

UploadFiles

Read the article
Partager cet article
Repost0
30 janvier 2007 2 30 /01 /janvier /2007 15:03
I have provided several PJC/Beans that use the Java gradient to colorize some objects.
Someone asked to me if it could be possible to apply this gradient feature to the whole Forms canevas.
So here is a Java Bean that allows to paint the current canevas with a Java gradient.
It needs the JRE 1.4 (Sun Java Plug-in)

     Gradient Canevas

     Read the article

Partager cet article
Repost0
26 janvier 2007 5 26 /01 /janvier /2007 21:43
Here is a Swing JButton that overloads a standard PJC's button.

   Swing button

It allows to have a standard Forms button with some nice decoration features.

You can apply a gradient color, set rounded borders, justify the label and also have a shadow behind the label.
Because it is firstly a PJC, you can set most of the common properties with the Set_Item_Property() built-in (label, position, foreground color, background color, etc...).

     Read the article

Partager cet article
Repost0
24 janvier 2007 3 24 /01 /janvier /2007 13:49

I was asked to build a JSP page within our Portal application to show some employee's characteristics.
It is easy to get all the common attributes with the search() method, but I never found anything to get the photo. Maybe this kind of function exists but I never found it.
So I decided to search where this binary file was stored.
Actually, it is stored in the ODS.DS_BATTRSTORE table:

CREATE TABLE DS_BATTRSTORE
(
  ENTRYID      NUMBER                           NOT NULL,
  ATTRNAME     VARCHAR2(255 BYTE)                   NULL,
  ATTRVAL      BLOB                                 NULL,
  ATTRHASHVAL  VARCHAR2(4000 BYTE)                  NULL
)

The ENTRYID contains the internal number, the ATTRNAME contains in this case the constant ‘jpegphoto’ and the image is stored in the ATTRVAL column.

So, if you know the employee number, you can extract his/her photo with the following query:

SELECT
    attrval
FROM
    DS_BATTRSTORE  bs
WHERE
    bs.attrname = 'jpegphoto'
AND EXISTS
   (
     SELECT 'x' FROM CT_EMPLOYEENUMBER  ct
     WHERE ct.entryid = bs.entryid AND ct.attrvalue = 'employee_number'


    )
;


Francois

Partager cet article
Repost0
20 janvier 2007 6 20 /01 /janvier /2007 16:20
Another great Oracle blog site with plenty of articles about Forms,J2EE and other Oracle stuff.
The site is owned by
Wilfred van der Deijl.
It is worth reading !

Francois
Partager cet article
Repost0
19 janvier 2007 5 19 /01 /janvier /2007 11:05
This is the first anniversary of the forms-pjc-bean site, and I wanted to use this special event to present my "hot fusion" participation, or how to etablish a bilateral communication between a Forms and a J2EE application.

      Fusion

   Read the article
   Read also this Wilfred great article
Partager cet article
Repost0