20 package net.sf.gridarta.gui.dialog.bookmarks;
22 import javax.swing.Icon;
23 import javax.swing.ImageIcon;
29 import org.jetbrains.annotations.NotNull;
30 import org.jetbrains.annotations.Nullable;
65 mapMenuEntry.visit(
this);
66 final Icon result =
icon;
78 icon =
new ImageIcon(mapImageCache.
getOrCreatePreview(mapMenuEntry.getMapFile().getFile()));
Graphical User Interface of Gridarta.
Base package of all Gridarta classes.
Image getOrCreatePreview(@NotNull final File mapFile)
Returns a preview Image for a given map file.
Caches icon and preview images for map files.