I have a group of JRadioButtons. Each of them points to a directory with only text files, when I am above them, they should count how many files are in each directory, and return the number of files as hints, I canβt set the tooltips when I created the buttons, how to get dynamic clues from them?
I tried the following but did not work:
JRadioButton myButton=new JRadioButton("Test") { public static final long serialVersionUID=26362862L; public String getToolTipText(MouseEvent evt) { return "123"; } }
Frank source share