Hi i am following the Image Lab lesson and i am adding the code, line by line
so i can understand what exactly is going on. I am up to the point where i
need to add the code CoveragePanel panel; but for some reason i get an error
message saying cannot find symbol CoveragePanel. Does anybody know which
import statement i need to use because i cannot see on listed. When i did
some reasearch i found out that it was linked to
melantha.coverage.gui.CoveragePanel but can't see this on the lesson. Can
sombody tell me why that is the case.
Also, i have created a simple java file called CoveragePanel for Rendering
Grid Coverage section, but when adding the setBackground(Color.WHITE); code
i have an error cannot find symbol. Do i also need to place this as
dependecy or download the swing/awt api or something.
package org.luong;
import javax.swing.JPanel;
import java.awt.color;
/**
*
* @author
*/
public class CoveragePannel extends JPanel {
CoveragePannel ()
{
setBackground(Color.WHITE);
}
}
Cheers
--
View this message in context:
http://www.nabble.com/Coverage-Pannel-Problem-tp18349789p18349789.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users