Please move the code for SceneControl and Scene to the windowOpened method of JFrame, or the code after it. The handle of the JFrame window can be get only after it is displayed, and the operations of SceneControl and Scene need this handle.
09 Dec,2019 iObjectsJavaIf you want to draw temporary object, please set the TrackMode attribute in MapControl first.
09 Dec,2019 iObjectsJavaPlease check whether it is started like this public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { // The classes and methods to implement} } ); }
09 Dec,2019 iObjectsJavaObjects Java use millimeter as unit, while Deskpro takes the unit of 0.1 millimeter.
09 Dec,2019 iObjectsJavaWhen you use the data from the SDB datasource for making the 3D thematic map, you must call the method, Layer3DDataset.updateData() of this thematic map layer after adding it to the scene; otherwise the thematic map layer cannot display.
09 Dec,2019 iObjectsJavaWhen you use the dataset in the datasource whose engine type is Oracle, SQL or DB2 to make the unique map, if you use the relational expression such as "SmID>100" as the field expression, the operation will fail and return null. Therefore the field expression should be the field name or the arithmetic expression such as "SmID" and "SmID + 1 ".
09 Dec,2019 iObjectsJavaWhen the MapControl object doesn't display, you had better not evoke the methods which begin with Do such as DoMouseDown; otherwise it may crash.
09 Dec,2019 iObjectsJavaBy default, the isTextOrientationFixed() method of Map class returns true, which indicates some texts are unable to be displayed on a map. when the Label map and Graph map are displayed simultaneously, or multi-layers exist in the same map, the display effect of the map depends on the sequence of layers added to the map. If the setTextOverlapAvoided(boolean value) method is set to false, the overlapped texts can be displayed.
09 Dec,2019 iObjectsJavaYes, it needs to be. You can first close map or MapControl, and then close the Workspace.
09 Dec,2019 iObjectsJavaYes, it has to be connected with Workspace using the method of setWorkspace(Workspace) before using MapControl to display data.
09 Dec,2019 iObjectsJavaWhen the Recordset is a part object in a function and it's no longer used, you have to call the method of Dispose to release it.
09 Dec,2019 iObjectsJavaCurrent system lacks of libpng12 library, please install corresponding libpng 12 library to solve this problem. You can install the library with installation disc or /support/ rmp to install. Suse system installs by yum install libpng12-0-1.2.44-7.1.x86_64.rpm, Redhat or CentOS installs by yum install libpng-1.2.10-17.el5_8.x86_64.rpm. Other Linux systems are similiar
09 Dec,2019 iObjectsJavaThe install directory can not include bracket, otherwise the program will not read data successfully.
09 Dec,2019 iObjectsJavaThe relative path in the Supermap.xml file means the relative path to the folder which contains the executable file.
09 Dec,2019 iObjectsJavaPlease note that if your operating system is Windows Vista or Windows 7, you need to run SuperMap License Manager as administrator or turn off UAC before license configuration.
09 Dec,2019 iObjectsJavaIt requires 32 bit or 24 bit colors. Note that the color quality is 256 colors by default in Remote Access of Windows 2000 Server. Users can switch the color quality to 32 bit using software like PCAnywhere in Remote Access.
09 Dec,2019 iObjectsJavaThe license configuration file is SuperMapLic.ini; If configuring the license manually, section names have to be correct; When configuring the license manually, the user name and the company name must be consistent with the ones used to create the license; When creating a license, the computer name must contain no more than 15 characters (English), the maximum number allowed by Windows Operating System.
09 Dec,2019 iObjectsJavaYes, but if there are some unpredictable causes that result in the directory failing to be written into path the automatically, users can right-click My Computer, select Property>Advanced>environment variable, select path in System variables, and double-click the path to modify it.
09 Dec,2019 iObjectsJavaThe vcredist90_x86.exe file in the Support folder of the installation directory provides all the dlls needed. Visual C++ 2012 redistribute package is needed. Java components needs JDK1.6 or higher; The Java components support OpenGL 1.6 or advanced editions; The libraries needed for the Java components 3D functionality on Linux are LibGL.so and LibGLU.so.
09 Dec,2019 iObjectsJavaThere are two methods: 1 Through the API call MapControl or Workspace's AboutBox () method to display AboutBox dialog box for reviewing. 2 Reviewing it through the detailed information in Tab page of SuperMap.Data.dll.
30 Sep,2019 iObjectsNET