mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
better icon for the editor
This commit is contained in:
@@ -468,10 +468,10 @@ KeyListener, FocusListener {
|
||||
this.commandPath = gfcmd;
|
||||
Image icon = null;
|
||||
try {
|
||||
final URL iconURL = ClassLoader.getSystemResource("gf-logo-64.gif");
|
||||
final URL iconURL = ClassLoader.getSystemResource("gf-icon.gif");
|
||||
icon = Toolkit.getDefaultToolkit().getImage(iconURL);
|
||||
} 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);
|
||||
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
|
||||
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:
|
||||
@echo $(GHCFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user