Hi Johan,
You can add a field of type Blob to store any binary including and image.
As I recall, the image will be automatically rendered in the UI.
@javax.jdo.annotations.Persistent(defaultFetchGroup = "false")
private Blob picture;
@Hidden(where=Where.ALL_TABLES)
public Blob getPicture() {
return picture;
}
public void setPicture(Blob picture) {
this.picture = picture;
}
HTH
On Tue, Jul 22, 2014 at 9:12 AM, <[email protected]> wrote:
> I would like to add a property to user class that holds an image of the
> user. Can you get me started? Is Java 2D an option or ... And how to
> display in the UI.
>
>
>
> Tnx! Johan
>
>
>
>
>
>