mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-21 17:29:55 +00:00
Making note re: why a deprecated method is being used.
This commit is contained in:
parent
9005a07280
commit
8ee2256bb4
@ -59,7 +59,8 @@ public class SwtUtil {
|
||||
/**
|
||||
* Setup some sensible paging information.
|
||||
*/
|
||||
public static void setupPagingInformation(ScrolledComposite composite) {
|
||||
@SuppressWarnings("deprecation") // Using deprecated method for older RPi SWT version
|
||||
public static void setupPagingInformation(ScrolledComposite composite) {
|
||||
GC gc = new GC(composite);
|
||||
FontMetrics fontMetrics = gc.getFontMetrics();
|
||||
gc.dispose();
|
||||
|
Loading…
Reference in New Issue
Block a user