Skip to content

Instantly share code, notes, and snippets.

@rubenquadros
Last active July 21, 2022 19:23
Show Gist options
  • Save rubenquadros/ede29f5d21e726821c6e80e95a65f8cd to your computer and use it in GitHub Desktop.
Save rubenquadros/ede29f5d21e726821c6e80e95a65f8cd to your computer and use it in GitHub Desktop.
Initial settings UI
class InspectionComponent {
fun getPanel(): JPanel = panel {
titledRow("Configure Plugin Settings For Your Project") {
row("Select JSON parser:") {
buttonGroup {
row {
radioButton(
text = "Gson"
)
}
row {
radioButton(
text = "Moshi"
)
}
row {
radioButton(
text = "Kotlinx-serialization"
)
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment