Author: remi
Date: 2008-07-29 16:15:58 +0200 (Tue, 29 Jul 2008)
New Revision: 1415
Added:
software_suite_v2/software/tools/attitunesStudio/trunk/images/aero.att
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
Log:
* added an attitune sample file in the project. This *.att file is launched in
the viewer to test the functionalities.
Added: software_suite_v2/software/tools/attitunesStudio/trunk/images/aero.att
===================================================================
(Binary files differ)
Property changes on:
software_suite_v2/software/tools/attitunesStudio/trunk/images/aero.att
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
===================================================================
--- software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
2008-07-29 13:01:57 UTC (rev 1414)
+++ software_suite_v2/software/tools/attitunesStudio/trunk/src/MainFrame.java
2008-07-29 14:15:58 UTC (rev 1415)
@@ -83,7 +83,7 @@
attBlockViewer.events.register(ATTConfig.EVENT_BLOCK_DRAG_STOPPED, this,
"onBlockDragStopped");
/* Load a file */
-
attBlockViewer.loadAttitune("C:/Others/Files/attitunes/aero.att");
+
attBlockViewer.loadAttitune(getClass().getResource("aero.att").getPath());
/* Zoom plus button */
zoomPlusButton = new ATTSButton("/zoomPlusButton.png");
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn