Use hand cursor for Discord link

This commit is contained in:
Lenni0451 2023-09-16 19:54:26 +02:00
parent 85deab7e63
commit fb74c159c4
No known key found for this signature in database
GPG Key ID: 5D59B86635AD3F2F

View File

@ -84,6 +84,7 @@ public class GeneralTab extends AUITab {
frame.openURL("https://discord.gg/viaversion"); frame.openURL("https://discord.gg/viaversion");
} }
}); });
discord.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
GBC.create(header).grid(0, 0).width(0).insets(BORDER_PADDING, BORDER_PADDING, 0, 0).anchor(GridBagConstraints.NORTHWEST).add(discord); GBC.create(header).grid(0, 0).width(0).insets(BORDER_PADDING, BORDER_PADDING, 0, 0).anchor(GridBagConstraints.NORTHWEST).add(discord);
JLabel title = new JLabel("ViaProxy"); JLabel title = new JLabel("ViaProxy");