mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
better icon for the editor
This commit is contained in:
@@ -468,10 +468,10 @@ KeyListener, FocusListener {
|
|||||||
this.commandPath = gfcmd;
|
this.commandPath = gfcmd;
|
||||||
Image icon = null;
|
Image icon = null;
|
||||||
try {
|
try {
|
||||||
final URL iconURL = ClassLoader.getSystemResource("gf-logo-64.gif");
|
final URL iconURL = ClassLoader.getSystemResource("gf-icon.gif");
|
||||||
icon = Toolkit.getDefaultToolkit().getImage(iconURL);
|
icon = Toolkit.getDefaultToolkit().getImage(iconURL);
|
||||||
} catch (NullPointerException npe) {
|
} catch (NullPointerException npe) {
|
||||||
logger.info("gf-logo-64.gif could not be found.\n" + npe.getLocalizedMessage());
|
logger.info("gf-icon.gif could not be found.\n" + npe.getLocalizedMessage());
|
||||||
}
|
}
|
||||||
initializeGUI(baseURL, isHtml, icon);
|
initializeGUI(baseURL, isHtml, icon);
|
||||||
initializeGF(gfcmd, null);
|
initializeGF(gfcmd, null);
|
||||||
|
|||||||
BIN
src/JavaGUI2/gf-icon.gif
Normal file
BIN
src/JavaGUI2/gf-icon.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 798 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -119,7 +119,7 @@ javac:
|
|||||||
|
|
||||||
jar: javac
|
jar: javac
|
||||||
cd JavaGUI; $(JAR) -cmf manifest.txt gf-java.jar *.class ; cd ..
|
cd JavaGUI; $(JAR) -cmf manifest.txt gf-java.jar *.class ; cd ..
|
||||||
cd $(GFEDITOR) ; rm -rf jarcontents ; mkdir jarcontents ; cp -r de/ ManifestMain.txt ../../LICENSE LICENCE_jargs gf-logo-64.gif jarcontents ; cat jargs-1.0.jar | (cd jarcontents; jar -x jargs) ; cd jarcontents ; $(JAR) -cmf ManifestMain.txt ../gfeditor.jar de/uka/ilkd/key/ocl/gf/*.class jargs LICENSE LICENCE_jargs gf-logo-64.gif ; cd .. ; cd ..
|
cd $(GFEDITOR) ; rm -rf jarcontents ; mkdir jarcontents ; cp -r de/ ManifestMain.txt ../../LICENSE LICENCE_jargs gf-icon.gif jarcontents ; cat jargs-1.0.jar | (cd jarcontents; jar -x jargs) ; cd jarcontents ; $(JAR) -cmf ManifestMain.txt ../gfeditor.jar de/uka/ilkd/key/ocl/gf/*.class jargs LICENSE LICENCE_jargs gf-icon.gif ; cd .. ; cd ..
|
||||||
|
|
||||||
showflags:
|
showflags:
|
||||||
@echo $(GHCFLAGS)
|
@echo $(GHCFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user