JFrame can not be visiable on WinXP.
I create a frame which extends from JFrame. when a button is clicked, the frame should be visiable. On Win 2000, it runs, but on Win Xp , it does not run, the frame does not appear. But the other frame which also extends from the JFrame runs on both system. The Java SDK is version 1.4.2.
Could anybody help me?
coral9527
Are the files you are trying to import mp3's? If not then either use iTunes to convert them or get some other third party program (i found a few really good ones but i can't remember what they were called). If they are mp3 maybe try converting them to mp3 again using a different encoder? (my LAME encoded ones seem to work fine)
Similar Messages
-
Cable driver can not be removed when installing la...
I have been unable to install an up date of the PC Suite because "Old cable drivers can not be removed".
WinXP service pack 3.
I can not remove certain Nokia entries from the registry using Regedit.
Nokia support have suggested I do a complete re-install of XP which I dread doing because of the time it will take.
Does anyone have any suggestions?
BikenibeuHi,
How about uninstalling PC Connecitivity solution from Control Panel, it will not have any "NOKIA" tag along with its name, you can also check if your pc has got any nokia flashing connecitivity cable driver too?
Why not use PC Suite cleaner? You can find the link for this here
http://europe.nokia.com/get-support-and-software/download-software/nokia-pc-suite -
Can not add a picture to the JFrame from an ActionListener class
As topic says, I can not add a picture to the JFrame from an ActionListener class which is a class inside the JFrame class.
I have a Map.java class where I load an image with ImageIcon chosen with JFileChooser.
I my window class (main class), I have following:
class OpenImage_Listener implements ActionListener
public void actionPerformed(ActionEvent e)
int ans = open.showOpenDialog(MainProgram.this); // "open" is the JFileChooser reference
if(ans == open.APPROVE_OPTION)
File file = open.getSelectedFile();
MainProgram.this.add(new Map(file.getName()), BorderLayout.CENTER); // this line does not work - it does not add the choosen picture on the window,
//but if I add the picture outside this listener class and inside the MainProgram constructor, the picture apperas, but then I cannot use the JFileChooser.
showMessageDialog(MainProgram.this, fil.getName() ,"It works", INFORMATION_MESSAGE); // this popup works, and thereby the ActionListener also works.
}So why can�t I add a picture to the window from the above listener class?The SSCCE:
Ok, I think I solved it with the picture, but now I cannot add new components after adding the picture.
Look at the comment in the actionlistener class:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class Test extends JFrame{
JButton b = new JButton("Open");
JFileChooser jfc = new JFileChooser(System.getProperty("user.dir"));
Picture pane;
Test(){
super("Main Program");
setLayout(new BorderLayout());
JPanel north = new JPanel();
add(north, BorderLayout.NORTH);
north.add(b);
b.addActionListener(new Listener());
setVisible(true);
setSize(500,500);
pane = new Picture("");
add(pane, BorderLayout.CENTER);
class Listener implements ActionListener {
public void actionPerformed(ActionEvent e){
int ans = jfc.showOpenDialog(Test.this);
if(ans == jfc.APPROVE_OPTION)
File file = jfc.getSelectedFile();
Test.this.add(new Picture(file.getName()), BorderLayout.CENTER);
pane.add(new JButton("NEW BUTTON")); // Why does this button not appear on the window???
pane.repaint();
pane.revalidate();
public static void main(String[] args)
Test t = new Test();
class Picture extends JPanel
Image pic;
String filename;
Picture(String filename)
setLayout(null);
this.filename = filename;
pic = Toolkit.getDefaultToolkit().getImage(filename);
protected void paintComponent(Graphics g)
super.paintComponent(g);
g.drawImage(pic,0,0,getWidth(),getHeight(),this);
revalidate();
} -
I prepared a GUI user connection application in NebBeans 5.5 accessing mySql database in the company server. The application run very well in desktop.
However, when I post it to the company server web, it gets nothing from the database.
Can any one give advice???
Thank you in advance.
The following is my application
import java.util.Vector;
import java.awt.event.*;
import java.awt.*;
import java.awt.event.*;
public class UserConnection extends javax.swing.JFrame {
//constants for database
private final String userName = "labmanage";
private final String password = "labmanage";
private final String server = "jdbc:mysql://svr.corp.com/labmanage";
private final String driver = "com.mysql.jdbc.Driver";
private JDBCAdapter data = new JDBCAdapter(server, driver, userName, password);
//variables
private String user, pwd;
private Vector<Vector<String>> userTable = new Vector<Vector<String>>();
private Vector<String>colUserNames = new Vector<String>();
* Creates new form UserConnection
public UserConnection() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
userLabel = new javax.swing.JLabel();
pwdLabel = new javax.swing.JLabel();
userTextField = new javax.swing.JTextField();
passwordField = new javax.swing.JPasswordField();
submitButton = new javax.swing.JButton();
statusLabel = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
statusTextArea = new javax.swing.JTextArea();
changePwdButton = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("User's Connection");
setBackground(new java.awt.Color(153, 204, 255));
setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
setFont(new java.awt.Font("aakar", 1, 12));
userLabel.setText("User Name:");
pwdLabel.setText("Password:");
submitButton.setText("Submit");
submitButton.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
submitButtonMouseClicked(evt);
submitButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
submitButtonActionPerformed(evt);
submitButton.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
submitButtonKeyTyped(evt);
statusLabel.setText("Status:");
statusTextArea.setColumns(20);
statusTextArea.setEditable(false);
statusTextArea.setLineWrap(true);
statusTextArea.setRows(3);
statusTextArea.setText("Initial assigned password is \"dime\".");
statusTextArea.setWrapStyleWord(true);
jScrollPane1.setViewportView(statusTextArea);
changePwdButton.setText("Change password");
changePwdButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
changePwdButtonActionPerformed(evt);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.addContainerGap()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(userLabel)
.add(pwdLabel)
.add(statusLabel))
.add(35, 35, 35)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(submitButton)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(changePwdButton))
.add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
.add(userTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE))
.addContainerGap())
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.addContainerGap()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(userLabel)
.add(userTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(pwdLabel)
.add(passwordField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(statusLabel)
.add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(15, 15, 15)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(submitButton)
.add(changePwdButton))
.addContainerGap(27, Short.MAX_VALUE))
pack();
}// </editor-fold>
private void submitButtonKeyTyped(java.awt.event.KeyEvent evt) {
if(evt.getKeyCode() == KeyEvent.VK_ENTER) {
submitButton.doClick();
submitButton.requestFocus();
changePwdButton.requestFocus();
private void changePwdButtonActionPerformed(java.awt.event.ActionEvent evt) {
String command = evt.getActionCommand();
if(command.equals("Change password")) {
passwordField.setText("");
//Get connection to the changing password panel
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new ChangePassword().setVisible(true);
private void submitButtonActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
String command = evt.getActionCommand();
if(command.equals("Submit")) {
user = getUser();
pwd = getPwd();
data = new JDBCAdapter(server, driver, userName, password);
data.executeQuery("SELECT * FROM USERTABLE");
colUserNames = data.getColumnNames();
userTable = data.getDataTable();
if(colUserNames.elementAt(0).equals("")) {
statusTextArea.setText("Can not connect to database");
boolean checkUser = false;
int i = 0;
while(!checkUser && i<userTable.size()) {
if(user.equalsIgnoreCase((String) userTable.elementAt(i).elementAt(0))) {
//Find the user in database
checkUser = true;
//Check user's password
if(pwd.equals((String)userTable.elementAt(i).elementAt(1))) {
//Check for initial default password. The user is requested
//to change his password
if(pwd.equals((String) "dime")) {
statusTextArea.setText("You are requested to change your " +
"initial assigned password. Click 'Change password' please.");
else {
//Set UserConnection Panel to invisible
setVisible(false);
dispose();
//Get connection to the table
if(userTable.elementAt(i).elementAt(2).equals("0")) {
//Get connection to non-editable table
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
PVRackReportNonEdit rackReport = new PVRackReportNonEdit();
rackReport.createAndShowDialog();
else {
if(userTable.elementAt(i).elementAt(2).equals("1")) {
//Get connection to editable table
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
PVRackReport rackReport = new PVRackReport(user);
rackReport.createAndShowDialog();
//PVRackReport rackReport = new PVRackReport();
else statusTextArea.setText("You do not get approval for viewing data. " +
"Please contact the administrator for details.");
else {
passwordField.setText("");
statusTextArea.setText("Please enter corrected password or" +
"the administrator for details.");
i++;
if(!checkUser) {
passwordField.setText("");
statusTextArea.setText("Not find such user's name." +
"contact the admistrator for details.");
private void submitButtonMouseClicked(java.awt.event.MouseEvent evt) {
// TODO add your handling code here:
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new UserConnection().setVisible(true);
public String getUser() {
return userTextField.getText();
public String getPwd() {
return passwordField.getText();
// Variables declaration - do not modify
private javax.swing.JButton changePwdButton;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JPasswordField passwordField;
private javax.swing.JLabel pwdLabel;
private javax.swing.JLabel statusLabel;
private javax.swing.JTextArea statusTextArea;
private javax.swing.JButton submitButton;
private javax.swing.JLabel userLabel;
private javax.swing.JTextField userTextField;
// End of variables declaration
Here is my JDBCAdapter
package rackdemo2;
* This is an adaptor which transforms the JDBC interface
* to the PVRackTableDialogue
import java.util.Vector;
import java.sql.*;
import javax.swing.table.AbstractTableModel;
import javax.swing.event.TableModelEvent;
public class JDBCAdapter {
Connection connection;
Statement statement;
ResultSet resultSet;
Vector<String> columnNames = new Vector<String>();
Vector<Vector<String>> rows = new Vector<Vector<String>>();
ResultSetMetaData metaData;
public JDBCAdapter(String url, String driverName,
String user, String passwd) {
try {
Class.forName(driverName);
connection = DriverManager.getConnection(url, user, passwd);
statement = connection.createStatement();
catch (ClassNotFoundException ex) {
System.err.println("Cannot find the database driver classes.");
System.err.println(ex);
catch (SQLException ex) {
System.err.println("Cannot connect to this database.");
System.err.println(ex);
public void executeQuery(String query) {
if (connection == null || statement == null) {
System.err.println("There is no database to execute the query.");
return;
try {
resultSet = statement.executeQuery(query);
metaData = resultSet.getMetaData();
int numberOfColumns = metaData.getColumnCount();
// Get the column names and cache them.
// Then we can close the connection.
for(int column = 0; column < numberOfColumns; column++) {
columnNames.addElement(metaData.getColumnLabel(column+1));
// Get all rows.
while (resultSet.next()) {
Vector<String> newRow = new Vector<String>();
for (int i = 1; i <= columnNames.size(); i++) {
String tempString = resultSet.getString(i);
if(!tempString.equals("null")) {
newRow.addElement(tempString);
else {
newRow.addElement("");
rows.addElement(newRow);
//Modify dataTable to add empty row to separate chassis
if(numberOfColumns>1) {
int nRow = rows.size();
Vector<String> row = new Vector<String>();
for(int i=0; i<numberOfColumns; i++){
row.add("");
if(nRow>0 || numberOfColumns>0) {
//Adding blank row to separate chassis
int i = 0;
while(i<nRow) {
if(!rows.elementAt(i).elementAt(0).equals("")) {
if(i>0) {
rows.add(i, row);
i++;
nRow = rows.size();
i++;
close();
catch (SQLException ex) {
System.err.println(ex);
public void close() throws SQLException {
resultSet.close();
statement.close();
connection.close();
// MetaData
public Vector<String> getColumnNames() {
return columnNames;
public Vector<Vector<String>> getDataTable() {
return rows;
public int getColumnCount() {
return columnNames.size();
// Data methods
public int getRowCount() {
return rows.size();
}Thank you for your answer.
I'm very new to mySql as server. When I was assigned
to write the application, the administrator has set
up mySql database in the company web server for my
application. My program runs very when using my
workplace desktop with java web start or with java
web start in netbeans (all paths should be link to my
desktop hard disk, i.e. users/application/). I can
not run the application at home because I can not
access to the company intranet server (for security
purpose). The problem happens when I post the
application in the company web page (I have to modify
all paths in jnlp file to the company web address).
The program then runs without exception except it
seems that it gets no data from the database (for
example, when I type my username, it returns that
"There is no such user name. contact.." as what I
code in the application for not correcting user name)
It happens for not only using my company desktop but
also for others.
Please help me.
Thank you in advance.And all this could have been answered yesterday, in your other thread, when I asked you "Is the DB configured to allow that user to connect to the DB from where that user is attempting to connect from?"
Seeing as how you get that error, the obvious answer was, "No." At which point we could have continued.
Configure the needed users into the DB, without forgetting to allow them access from the machines from which they are going to access from.
Although, I agree with Rene, that you should set up a server of some sort, located on the same machine as the DB, for communicating with the DB. -
MapBuilder Error:Can not find a GeoRaster object with specified rdt and rid
Hello,
I can't GeoRaster data in the preview of the MapBuilder and MapViewer. The GeoRasterViewer shows the Raster images without problems.
MapBuilders error message:
19.11.2008 13:07:11 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
SCHWERWIEGEND: GeoRaster load Exception:
oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
19.11.2008 13:07:11 oracle.sdovis.LoadThemeData run
SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
19.11.2008 13:07:11 oracle.sdovis.MapMaker buildDataMBR
WARNUNG: null MBR resulted from buildDataMBR.
The errror message of MapViewer is nearly the same with some more informations about the spatial query and the coordintes of the query window. If I run that spatial query in the sqldeveloper it returns a result!
I did following stebs:
- saved a tiff-Image in a GeoRaster table with pyramid an tiled images.
- checked the sdo_geom_metadata --> they are correct
- checked the sdo_georaster object for the rdt table name and rasterid --> they are correct
- checked the rdt table --> objects with that rid are saved
- checked the mdsys.sdo_geor_sysdata table --> entry is correct
- validate the geraster with the sdo_geor.validategeoraster function --> object is valid
- updated the spatial extend of the image and try again the preview functio--> the same error
The databse server is a virtual Linux server with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit.
The web server is a Window 2003 R2 Server with a weblogic server and mapviewer patch 5 (Ver1033p5_B081010).
For a test I did the same (the same table script, the same raster data, the same import method) on a developer pc (WinXP Pro SP2) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 (32bit) the same mapbuilder version but with the MapViewer QuickStartKid and it works fine!!!
Has anyone an idea?
Greeting,
Cord
Edited by: Corti on Nov 19, 2008 2:14 PMHi Joao,
Thanks so far.
I'm previewing a GeoRaster theme. I created it with the MapBuilder GeoRaster wizard. The theme difinition is (out of the export file):
RAS_DGK|
null|
RAS_DGK|
GEORASTER|
<?xml version="1.0" standalone="yes"?>
<styling_rules theme_type="georaster">
</styling_rules>|
(GeoRaster table name is "RAS_DGK", theme name is also "RAS_DGK")
I get following log information:
preview without a coordinate or scale:
MapBuilder Error (as pop up): MAPVIEWER 01005: no spatial data to render
log file:
20.11.2008 10:17:27 oracle.sdovis.LoadThemeData run
FEINER: LoadThemeData running thread: Thread-43
20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: Original query window: -Infinity,-Infinity,NaN,NaN
20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: [Query] select grt.GEORASTER, grt.GEORASTER.metadata.getClobVal() from RAS_DGK grt
20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: Fetch size: 100
20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
SCHWERWIEGEND: GeoRaster load Exception:
oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
20.11.2008 10:17:27 oracle.sdovis.LoadThemeData run
SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
20.11.2008 10:17:27 oracle.sdovis.MapMaker buildDataMBR
WARNUNG: null MBR resulted from buildDataMBR.
preview with a center coordinate of the image and a scale:
20.11.2008 10:18:43 oracle.sdovis.SRS getOptimalQueryWindow
AM FEINSTEN: *** isGeodetic=false, unit=METER
20.11.2008 10:18:43 oracle.sdovis.LoadThemeData run
FEINER: LoadThemeData running thread: Thread-45
20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: Original query window: 2550045.7746478873,5608500.0,2551954.2253521127,5609500.0
20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: [Query] select grt.GEORASTER, grt.GEORASTER.metadata.getClobVal() from RAS_DGK grt WHERE MDSYS.SDO_FILTER(grt.GEORASTER.spatialextent, MDSYS.SDO_GEOMETRY(2003, 31466, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?,?,?,?)), 'querytype=WINDOW') = 'TRUE'
20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: Fetch size: 100
20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
SCHWERWIEGEND: GeoRaster load Exception:
oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
20.11.2008 10:18:43 oracle.sdovis.LoadThemeData run
SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
20.11.2008 10:18:43 oracle.sdovis.DBMapMaker renderEm
INFO: **** time spent on loading features: 234ms.
20.11.2008 10:18:43 oracle.sdovis.RenderingEngine prepareForRendering
AM FEINSTEN: xfm: 0.284 0.0 0.0 -0.284 -724212.9999999999 1593097.9999999998
20.11.2008 10:18:43 oracle.sdovis.ImageRenderer renderGeoRasterTheme
WARNUNG: GeoRaster theme RAS_DGK has no rendered images.
20.11.2008 10:18:43 oracle.sdovis.VectorRenderer render
FEINER: time to render theme RAS_DGK with 0 styled features: 0ms
20.11.2008 10:18:43 oracle.sdovis.DBMapMaker renderEm
INFO: **** time spent on rendering: 16ms
If I run the sql statement in the log file, it returns a result.
select grt.georid, grt.GEORASTER, grt.GEORASTER.metadata.getClobVal()
from ras_dgk grt
WHERE MDSYS.SDO_FILTER(grt.GEORASTER.spatialextent,
MDSYS.SDO_GEOMETRY(2003, 31466, NULL,
MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),
MDSYS.SDO_ORDINATE_ARRAY(2550045.7746478873,5608500.0,2551954.2253521127,5609500.0)), 'querytype=WINDOW') = 'TRUE';
GEORID
2
GEORASTER
MDSYS.SDO_GEORASTER(20001,MDSYS.SDO_GEOMETRY(2003,31466,null,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(2550000,5608000,2552000,5610000)),RDT_RAS_DGK,522,oracle.xdb.XMLType@194a7ec)
GEORASTER.metadata.getClobVal()
<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
<objectInfo>
<rasterType>20001</rasterType>
<isBlank>false</isBlank>
<defaultRed>1</defaultRed>
<defaultGreen>1</defaultGreen>
<defaultBlue>1</defaultBlue>
</objectInfo>
<rasterInfo>
<cellRepresentation>UNDEFINED</cellRepresentation>
<cellDepth>8BIT_U</cellDepth>
<totalDimensions>2</totalDimensions>
<dimensionSize type="ROW">
<size>6299</size>
</dimensionSize>
<dimensionSize type="COLUMN">
<size>6299</size>
</dimensionSize>
<ULTCoordinate>
<row>0</row>
<column>0</column>
</ULTCoordinate>
<blocking>
<type>REGULAR</type>
<totalRowBlocks>4</totalRowBlocks>
<totalColumnBlocks>4</totalColumnBlocks>
<rowBlockSize>2048</rowBlockSize>
<columnBlockSize>2048</columnBlockSize>
</blocking>
<interleaving>BSQ</interleaving>
<pyramid>
<type>DECREASE</type>
<resampling>NN</resampling>
<maxLevel>6</maxLevel>
</pyramid>
<compression>
<type>NONE</type>
</compression>
</rasterInfo>
<spatialReferenceInfo>
<isReferenced>true</isReferenced>
<SRID>31466</SRID>
<modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
<modelType>FunctionalFitting</modelType>
<polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScale="1" columnScale="1" xScale="1" yScale="1" zScale="1">
<pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
<polynomialCoefficients>17668678.695368 0 -3.14949718277477</polynomialCoefficients>
</pPolynomial>
<qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
<polynomialCoefficients>1</polynomialCoefficients>
</qPolynomial>
<rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
<polynomialCoefficients>-8031218.31607409 3.14949718277477 0</polynomialCoefficients>
</rPolynomial>
<sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
<polynomialCoefficients>1</polynomialCoefficients>
</sPolynomial>
</polynomialModel>
</spatialReferenceInfo>
<layerInfo>
<layerDimension>BAND</layerDimension>
<subLayer>
<layerNumber>1</layerNumber>
<layerDimensionOrdinate>0</layerDimensionOrdinate>
<layerID>1</layerID>
<colorMap>
<colors>
<cell value="0" blue="255" red="255" green="255" alpha="255"/>
<cell value="1" blue="0" red="0" green="0" alpha="255"/>
</colors>
</colorMap>
</subLayer>
</layerInfo>
</georasterMetadata>
I checked also the content of rdt table and it contains entries with that raster id (= 522).
Finally the log file when I use the preview directly on the GeoRaster table without a theme:
20.11.2008 10:23:46 oracle.sdovis.LoadThemeData run
FEINER: LoadThemeData running thread: Thread-55
20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: Original query window: -Infinity,-Infinity,NaN,NaN
20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: [Query] select grt.GEORASTER from RAS_DGK grt where grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
FEINER: Fetch size: 100
20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
SCHWERWIEGEND: GeoRaster load Exception:
oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
20.11.2008 10:23:46 oracle.sdovis.LoadThemeData run
SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
Description:
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
20.11.2008 10:23:46 oracle.sdovis.MapMaker buildDataMBR
WARNUNG: null MBR resulted from buildDataMBR.
If you need more information - please ask for it.
Cord -
3 problems: 1) I can't buy anything online. Firefox has a popup that states that all payment sites (Amazon, paypal, etc.) are forbidden and tries to protected me from them and blocks me (will not let me bypass the block). 2) Once I figure a work around the block Paypay shows as text only (shows all content on internet explorer) 3) try to upgrade adobe flashplayer as suggested in a forum and adobe flash can not upgrade when firefox is open. Been on firefox for several years now why the sudden ultimate security?
Quite honestly, I think you need to go back to Flash 10.3.183.90, a version that was kept alive specifically for WinXP users. The Flash 11 and later versions have a separate plugin container that isn't available for anything below Win Vista with feature you can't even use. I see no advantage to anything newer and on the down side the newer versions are a lot more likely to crash frequently.
First, grab the Adobe uninstaller from here:
http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
Then download Flash 10.3.183.90 from here - about halfway down the page:
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
(Released 6/11/2013) Flash Player 10.3.183.90 (61.1 MB)
IMO, the best version of Flash for WinXP. Adobe kept up with security updates for 10.3 for WinXP users long after Flash 11.0 came out in 2011 for Vista and newer versions of Windows.
Run the uninstaller, then reboot your operating system.
Then you can run the Flash installer, with Firefox closed, of course.
''Note, if you still use IE, you'll need to reinstall the ActiveX version of Flash for IE. That uninstaller removes all versions of Flash that might be installed,'' -
I can not connect to the internet. I called mediacom due to the problem and they connected me to internet explorer. They indicated I should contact you for help in connecting to the internet. It appears firefox has made some kind of change since last night since I was using firefox for my internet connection last night. Something has changed. Your help will be appreciated.
http://en.wikipedia.org/wiki/Keyhole_Markup_Language
The only way that file opens thru IE8 for me ''(but not actually in IE8)'' is by using the Zip Utility (then IE closes) that is in WinXP and then opening the two image files in the Windows Fax and Picture Viewer.
I think Firefox is trying to display that file because the MIME-type is for '''''text/plain''''' instead of the appropriate MIME-type of '''application/vnd.google-earth.kml+xml''' or '''application/vnd.google-earth.kmz'''
That is something that needs to be configured in the server that is hosting that file type. Sorry, I don't know how that can be fixed. The one support person here that might know lives in Europe ''(I believe)'', so you might need to wait for an answer. -
Can not see iPhone on Windows XP after updating to 1.1.1
I can not download my pictures shot with the iPhone since I can no longer see the iPhone under 'My Computer' folder in WinXP. Prior to 1.1.1 update the phone showed up and I could copy and delete photos. Now I seem to be locked out.
Can anyone tell me if this is a 1.1.1 bug and how to get my pictures off the iPhone?
Thanks,here is an article from the apple support website that might help out.
http://docs.info.apple.com/article.html?artnum=305716 -
SuperFrench is found but this font can not display any text
"SuperFrench" font comes from Autodesk. this fonts's real file name is supef__.ttf
If it is placed in C:\Windows\Fonts folder then it is available for Windows native apps such as MS Excel.
Java GraphicsEnvironment finds "SuperFrench" font
but this font can not display any text.
This happens in both Java6(1.6.0_34) and Java7(1.7.0_06)
try this
import javax.swing.*;
import java.awt.*;
import java.util.*;
public class FontTest01 {
public static void main( String[] args ){
FontTest01 app = new FontTest01();
app.run();
void run() {
String fontName = "SuperFrench"; //** SuperFrench font
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
String[] existFontNames = ge.getAvailableFontFamilyNames(Locale.ENGLISH);
boolean fontExists = false;
for( int i=0 ; i<existFontNames.length ; i++ ){
if( existFontNames.equals( fontName ) ){
fontExists = true; break;
if( fontExists==false ){
System.out.println( fontName +" does not exist" );
System.exit(-1);
JLabel label = new JLabel( "ABCDEFG" );
Font font = new Font( fontName, Font.PLAIN, 20 );
System.out.println( font.getFontName() );
label.setFont( font );
JFrame f = new JFrame();
f.add( label );
f.setSize( 180, 120 );
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setVisible(true);
Edited by: TadashiOhmura on 2012/06/17 23:04
Edited by: TadashiOhmura on 2012/06/18 7:50Thank you for your replay.
I face the same trouble with JavaFX
I report this problem into Jira and filed as RT-22641
Some members of Oracle developer team write comments for this issue.
http://javafx-jira.kenai.com/browse/RT-22641
This font has some irreguler structure.
I hope Java font system will deal with it. -
Wrt54g v7 DHCP does not work on *some* winXP machines with WEP key enabled
HI,
I enabled WEP encryption in an existing network yesterday.
Out of the 10 machines on the network, all WinXP & 1 Kubuntu, 3 XP machines can not get an IP address from the DHCP server. They can happily connect with a fixed IP adresss. All machines are of different makes, 2 of them with XPSP3, different wireless hardware cards.
The firmware is 7.001, i read about 7.004 and even 7.2 on other sites than this one. (but can only find 7.2 as a download)
I am in Juba, Sudan, so cant really go to the shop and buy a new one when I upload the wrong firmware.
Does anyone have a clue what I can do, except removing the 'security' from the router that is connected to a 500USD/Month satelite link we dont want to share with the neighbours?
Rgds,
Reinier
Message Edited by reinier on 01-14-2009 10:07 AMClick Download and save the latest firmware available for WRT54GS ver 7.0 router...Follow these steps to upgrade the firmware on the device: -
Open an Internet Explorer browser page.In the address bar type - 192.168.1.1
Leave the username blank & in password use admin in lower case...
Click on the 'Administration' tab- Then click on the 'Firmware Upgrade' sub tab- Here click on 'Browse' and browse the .bin firmware file and click on "Upgrade"...Wait for few seconds until it shows that "Upgrade is successful" After the firmware upgrade, click on "Reboot" and you will be returned back to the same page... -
Setup.exe file can not by accessed by system
OS is WinXP Home SP3. When either installing complete all-in-one software from disc or downloaded rw2_021_w02_enu.exe, the install stops when trying to access Setup.exe "The File Can not Be Accessed from the System".Does anyone have a solution to this issue?
Hi , and welcome to the HP Forums! I see you are having software errors. I would like to help! I would recommend removing the ink cartridges from the printer, and perform a power reset. Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar. I would then suggest Uninstalling the Printer Software. Once it is uninstalled, I would suggest putting your system into clean boot mode within the Microsoft configuration. You can do so by following this document: How to perform a clean boot in Windows. Once the computer is in clean boot mode, I would suggest reinstalling the HP Printer Install Wizard for Windows. Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
-
The problem sometimes occur in my computer in my office. Our user use winxp operating system and the version of adobe reader is 11.0.It can not open, and show the message .
How can we solve the problem ? We have try to reinstall Adobe Reaer and Operating System , but we still can not solve the problem . Thank you.Sorry, I just noticed that you are on Windows XP. XP is no longer supported by the latest Reader version.
Update to 11.0.08. -
How can I share data between WinXP Pro and Mac OS 10.8.3 via wifi
How can I share data between WinXP Pro and Mac OS 10.8.3 via home wifi.
MartyP wrote:
Or is there a problem with both OS's writing stuff to the
~/Home/Library folder that may be incompatible?
Yes, big time. Mail, for sure, has a different file/folder structure, and would not be happy.
Plus, a number of apps (Apple and 3rd-party) are "Sandboxed." That's a security feature, to prevent malware or bad coding from affecting things it shouldn't. Some of their files, including the preferences files, aren't even stored in the same places!
Or to other places I'm not aware of?
Probably. If you have two versions of the same app, they may or may not expect the same data setup.
To have one User folder for both OS's would save a lot of drive space
Not if you use some or all of woodmeister50's suggestions.
But I'm also not sure how I'd use Time machine with such a set up.
Just as you do now. By default, Time Machine backs-up everything (except things like system work files, most caches and logs, trash) for all users and all internal drives & partitions. By default, it excludes external drives.
You can change those defaults, of course, via TM Preferences > Options.
See Time Machine - Frequently Asked Question #32 for details and considerations of multiple drives.
Presently I backup with . . . clones to other HD's
Good. Yes, clones are different. You need multiple "tasks" to back up multiple drives/partitions. But once set up, that shouldn't be a big deal. -
Can not get JInternalFrame to setLocation
Morning,
I am stuck and could use some help, I've tried everything I could think of before posting, keep in mind I am a eng who is learning java on my own but I've tried everything I can think of already.
I have a JInternalFrame to which I added a pane. I want this frame to overlap other panes, the problem is I can not seem to get the frame to obey the setLocation or setBounds command.
the program is 6800+ lines but here is the relevant lines.
operatingConditionsFrame = new JFrame;
operatingConditionsFrams.getContentPane().setLayout(new BorderLayout());
JDesktopPane operatingConditionsMainPane = new JDesktopPane();
operatingConditionsMainPane.setLayout(
new BoxLayout(operatingConditionsMainPane,BoxLayout.Y_AXIS));
operatingConditionsMainPane.setBackground(new Color(41,128,166));
operatingConditionsMainPane.setPreferredSize (
new Dimension(operatingConditionsMainPaneWidth,
operatingConditionsMainPaneLength));
operatingConditionsMainPane.setMaximumSize (
new Dimension(operatingConditionsMainPaneWidth,
operatingConditionsMainPaneLength));
operatingConditionsMainPane.setMinimumSize (
new Dimension(operatingConditionsMainPaneWidth,
operatingConditionsMainPaneLength));
operatingConditionsFrame.add(operatingConditionsMainPane);
JInternalFrame formulaSubScreen = new JInternalFrame();
formulaSubScreen.getContentPane().setLayout(
new BoxLayout(formulaSubScreen.getContentPane(),BoxLayout.X_AXIS));
formulaSubScreen.setVisible( true );
formulaSubScreen.setResizable( true );
formulaSubScreen.setPreferredSize (new Dimension(200, 200));
formulaSubScreen.setMaximumSize (new Dimension(200, 200));
formulaSubScreen.setMinimumSize (new Dimension(200, 200));
formulaSubScreen.getContentPane().add( formulaMainPane );
formulaSubScreen.setBounds( 0,0,200,200);
formulaSubScreen.pack();
operatingConditionsMainPane.add( formulaSubScreen );
The goal is to be able to control where the frame is placed.
Any help would be greatly appreciated since I have been stuck for a while and need to move on.
Thanks
Pat
Senior Field Applications Engineer
Credence Corporation
[email protected]
www.credence.comahhhhh, you are the man!!!!
Thank you so much!!!!!
It is a little more challenging because operatingConditionsMainPane has 4 panes and a internal frame. Each pane changes in length as well as operatingConditionsMainPane such that each time the user enters a new group then new rows corresponding to that group are added.
I just need to keep up with the lenght of the panes but this will work.
Thanks again,
Pat
PS. is there away to turn off the title bar on the internal frame ? I kust want a border around it like a pane has. -
Can not see Ligthing Effects filter
I just installed Photoshop CS6 Beta and can not see the new lighting effects filter--does this have to do woth my hardware and operating system configuration?
I am on Win XP Professional SP3 and my NVIDIA card supports graphics acceleration.
I can run CS5 fine.You're on WinXP -- many of the 3D features (including Lighting Effects) won't work.
Maybe you are looking for
-
Creation of Data Control for custom java method which will return records
Hi Guys, I have a requirement of creating a a custom java method in App module which will return a record set taking an id as input.In case of single return type it works fine but in case of returning record set it is not working.In my case i have to
-
File Content Conversion Error in PI 7.1 (file to Proxy)
Hi I am working on File to Proxy Scenario and I gave the File content conversion as below, File is picking up by the PI Server when I look at Communication Channel Monitoring, However when I open the Message ID in the CC monitoring it says as 404 Not
-
on my 3G iphone for some reason i only receive one or two bars i had my phone next to another 3G and the other phone had full bars as were mine had none. is there anything i can do to fix this problem. also, i contacted AT&T they told me to reset my
-
I am using Appleworks 6. The table that I created stops at two pages - I need to add many more cells, but when I add a new one, it just writes over an old one. How do I add a third page with blank cells??
-
Would like to update ...
I still depend on my Palm505 ... but would like to update. I don't want to subscribe to Internet access. I mainly use my Palm for my address book. I have come to depend upon Windows Outlook Calendar. Am I still good to go or is there an applicati