Share My Creation [B4J] FlipButton - CustomView

flip.gif

This is another custom view I’ve been working on.
It’s basically a button with a built-in confirmation dialog, presented through a smooth flip animation.

When the user clicks the button, it flips to reveal a confirmation panel with YES / NO options, acting like a lightweight message box without leaving the component itself.

I’m not sure if something like this already exists in B4J, but I couldn’t find anything similar in the IDE, so I decided to build my own version from CSS examples on the web.

Features
Flip animation between button and confirmation state
Integrated confirmation (no external dialogs needed)
Customizable texts and colors (front, message, buttons)
Mouse hover effects on YES / NO buttons
Fully self-contained custom view

Use case
This can be useful for actions that require confirmation (like delete, reset, etc.) without interrupting the user flow with a traditional dialog.
 

Attachments

  • FlipButton.zip
    4.7 KB · Views: 11
Top