The "(Which should I use?)" and "(Forgot password?)" links under the text fields don't appear to be hyperlinks when you mouse over them. Normally you'd expect the cursor to change into the pointing hand and the link text to underline, instead the cursor and text just stay the same.
In Java you can do something like this to achieve the desired effect (supposing the links are JLabels):
LauncherFrame.java
link.setCursor(new Cursor(Cursor.HAND_CURSOR)); //link is a JLabel
link.addMouseListener(new MouseAdapter()
{
public void mouseExited(MouseEvent arg0)
{
link.setText("<HTML><FONT color=\"#000099\">"+text+"</FONT></HTML>");
}
public void mouseEntered(MouseEvent arg0)
{
link.setText("<HTML><FONT color=\"#000099\"><U>"+text+"</U></FONT></HTML>"); //Underlined
}
public void mouseClicked(MouseEvent arg0)
{
if (Desktop.isDesktopSupported())
{
try
{
Desktop.getDesktop().browse(urlToOpen);
}
catch (Exception e)
{
e.printStackTrace();
}
}
else
{
new JOptionPane("Could not open link.").createDialog(new JFrame(), "").setVisible(true); //Change "new JFrame()" to the launcher's frame
}
}
});
It feels weird for me since we're dealing with links yet they don't seem like links. I would expect them to be a bit more responsive.
This is purely cosmetic.
Comments 6
I don't understand how you mods can stay on top of the multitudes of reports submitted. Big ups to you guys, really.
Like this is the third or fourth report I've submitted and there you are again, less than half an hour after later.
We are The Robots.
(But regularly pass the Turing test)
PS. Thanks for your kind words 🙂. Positive feedback is quasi nonexistant...
Confirmed.