- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
private Image loadImage(ClassLoader classLoader, String base, String src) throws IOException { URL url = getResourceUrl(classLoader, base, src); return ((DeviceDisplayImpl) getDeviceDisplay()).createSystemImage(url); }
int width; int height; if (((DeviceDisplayImpl) device.getDeviceDisplay()).isResizable()) { width = device.getDeviceDisplay().getFullWidth(); height = device.getDeviceDisplay().getFullHeight(); } else { width = device.getNormalImage().getWidth();
private void parseInput(XMLElement tmp) { DeviceDisplayImpl deviceDisplay = (DeviceDisplayImpl) getDeviceDisplay(); boolean resizable = deviceDisplay.isResizable();
if (tmp.getName().equals("system-properties")) { parseSystemProperties(tmp); } else if (tmp.getName().equals("img") && !((DeviceDisplayImpl) getDeviceDisplay()).isResizable()) { try { if (tmp.getStringAttribute("name").equals("normal")) {
if (((DeviceDisplayImpl) device.getDeviceDisplay()).isResizable()) { resize(device.getDeviceDisplay().getFullWidth(), device.getDeviceDisplay().getFullHeight()); } else { resize(device.getNormalImage().getWidth(), device.getNormalImage().getHeight());
private void parseDisplay(ClassLoader classLoader, String base, XMLElement tmp) throws IOException { DeviceDisplayImpl deviceDisplay = (DeviceDisplayImpl) getDeviceDisplay();