« Return to Thread: Netbean Mobility 6, CDC, NSICom SDK and Swing Support from GUI Builder

Re: Netbean Mobility 6, CDC, NSICom SDK and Swing Support from GUI Builder

by Lukas Hasik :: Rate this Message:

Reply to Author | View in Thread

Albert Kam wrote:

> Hi,
>
> Quick intro :
> - I'm still new (very excited) in netbean and especially the gui builder.
> - I'm building CDC app using netbean mobility 6
> - I'm using NSICom SDK together with netbean mobility
> - I already tested running a simple swing app in remote vm (running
> inside pocket pc using creme jvm) based on the tutorial i found in
> netbean website, and it worked beautifully.
>
> Now i'm getting started to build a GUI CDC app after the previous
> simple testing.
>
> The problem is in the JFrame .. I tried setting the minimal size to
> 100x100 (pocketpc has small screen), and also setting the default
> close operation to exit on close.
>
> But building this gives error, cannot find symbol for
> setDefaultCloseOperation and setMinimumSize(Dimension).
>
> I assume this has to do with Creme that can only deal with 1.3.1
> Swing, is this right ?
Correct. It is known restriction of the Creme platform. See
http://www.netbeans.org/issues/show_bug.cgi?id=98095

> If this is so, is it possible for me to set the compatibility of my
> CDC project to 1.3.1, so that it doesnt allow methods unavailable for
> 1.3.1 ?
>
> It'll be great if the gui builder doesnt show properties that are not
> supported in 1.3.1
>
Unfortunatelly, the GUI builder isn't so flexible. There will be always
some restriction thar the developer has to be aware... (J2ME world is
real mess, you know)

HTH
Lukas.
> Please help,
> Albert Kam
>
> --
> Do not pursue the past. Do not lose yourself in the future.
> The past no longer is. The future has not yet come.
> Looking deeply at life as it is in the very here and now,
> the practitioner dwells in stability and freedom.
> (Thich Nhat Hanh)

 « Return to Thread: Netbean Mobility 6, CDC, NSICom SDK and Swing Support from GUI Builder