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