I'm developing a GUI, where I need some pop-up windows with a customized design, for example, the client can add a product to an order by filling a form, and this form will be in a pop-up window with a custom style. Another example is something like this
After registration: (I can't post images yet)
My question is, how can I achieve this? I tried to create a JOptionPane and JDialog with a custom class that extends JPanel, but the borders are grey, and the ok button it's still there... Also I would like to remove the top default border with the close button and customize it too, but I don't know if it's possible.