Flex on Java