Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Metro style Radio Box for Java (JMetro) – Revisited

DZone's Guide to

Metro style Radio Box for Java (JMetro) – Revisited

· Java Zone
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

This time the radio button gets a face lift and a Java8 approval stamp.

Tweaks:

  • Focus ring changed to be equal to the rest of the controls
  • Outer circle stroke width increased
  • Removed css code that wasn’t doing anything
  • Outer circle stroke color changes when mouse hover and focused
RadioButton(LightTheme)

Radio Button metro (Light Theme)

RadioButton(DarkTheme)

Radio Button metro (Dark Theme)

Download Modern Java EE Design Patterns: Building Scalable Architecture for Sustainable Enterprise Development.  Brought to you in partnership with Red Hat

Topics:

Published at DZone with permission of Pedro Duque Vieira. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}