jdk/src/macosx/classes/sun/lwawt/LWToolkit.java
changeset 13993 8b3fe3d8badb
parent 13648 90effcfc064f
child 14753 a56a685d137f
equal deleted inserted replaced
13992:d1b65c4e924c 13993:8b3fe3d8badb
   308     }
   308     }
   309 
   309 
   310     @Override
   310     @Override
   311     public CanvasPeer createCanvas(Canvas target) {
   311     public CanvasPeer createCanvas(Canvas target) {
   312         PlatformComponent platformComponent = createPlatformComponent();
   312         PlatformComponent platformComponent = createPlatformComponent();
   313         LWCanvasPeer peer = new LWCanvasPeer(target, platformComponent);
   313         LWCanvasPeer<?, ?> peer = new LWCanvasPeer<>(target, platformComponent);
   314         targetCreatedPeer(target, peer);
   314         targetCreatedPeer(target, peer);
   315         peer.initialize();
   315         peer.initialize();
   316         return peer;
   316         return peer;
   317     }
   317     }
   318 
   318