I am in the process of porting an application implemented in Adobe
Flex and I was wondering if I am able to do a few things:
1) Can I use vector graphics for buttons and backgrouns?
2) Can I make a panel transparent?
I am attaching a screenshot so that you can have an idea of what I am
trying to replicate. I know I won't be able to do it exactly as it is,
but something similar.
Best Regards,
Fidel.
On Tue, Aug 11, 2009 at 6:30 PM, Luan O'Carroll<luan.o...@gmail.com> wrote:
>
> Hi Fidel,
>
> Yes, I can understand that - that would be my choice too.
>
> Aria's panels can be transparent - in fact the layers are just
> transparent panels. You can use RGBA values or you can use transparent
> images.
>
One thing I like about Aria is its page based way of organising an
application. It is closely related to how webpages work, but this is
much more powerful than Ajax. I am certain you can achieve the same
with JavaFX, but that is not as straightforward. I was able to learn
Aria really quickly. The same does not apply to JavaFX.
As for the transparency, what I want is control the alpha channel, and
not have it 100% transparent. I want to be able to define its opacity.
As for transparent images only gifs are accepted, right?
I have tried pngs but I was getting some errors.
Regards,
Fidel.
On Tue, Aug 11, 2009 at 7:11 PM, Luan O'Carroll<luan.o...@gmail.com> wrote:
>
> And the layout support in JavaFX very patchy.
>
yes, it sucks. It is a nice concept, but to create an application it
takes quite a lot of time.
> pngs should work, or any of the supported image types. There are
> performance differences between image types and sometimes the sub
> formats may have problems, it can be annoying :-(
>
I guess we can overcome this with time.
> If there are specific issues I can take a look
I don't remember what the error was, but I will try it again and let
you know. I think that it had to do with the image format. It may have
to do with the application that generated it. I will have a look and
then let you know.
Thanks for the help.
Regards,
Fidel.