hiya all,
im trying to make a custom viewer for openmap.
To begin with i tried to import all the source files into Jbuilder and make my own project when i dint succeed at this i got wind of a .jpr file which had allrdy been posted on the openmap site. i dowloaded this but still i couldnt succeed in getting Jbuilder to make the project for sratch (the .java files).
So i just inculuded the supplied .jar files (3) as libraries for my project and ran with it that way. But this gives a problem in that JBuilder uses the supplied .class files above the users compiled ones so if you edit for example the openmap.java file and recompile it, you wont see the modifications because the program still uses the old class file in the .jar
So now im at the dillemma how to get my viewer to be started instead of the standard OpenMapFrame.java.
So I tried to work around this problem by editing the openmap.properties file.
I did the following.
I changed the
"frame.class=com.bbn.openmap.gui.OpenMapFrame" line into
"frame.class=com.bbn.openmap.gui.MyFrame"
and of course added a .java file at the specified path. In this file i made a new frame and set its size and title.
The applivation now does make a new frame but it doesnt set its title or size correctly.
Have you got any ideas as how to do this.
Greetz Martijn
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Sep 10 10:58:42 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT