JIDE with Eclipse

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

JIDE with Eclipse

Postby fred7269 » Tue May 13, 2008 8:43 am

I'm trying to add a simple combobox into my JFrame. Unfortunately, I'm getting a error saying the following:

Exception in thread "AWT-EventQueue-0" java.lang.SecurityException: class "AbstractDemo"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:775)

Does anyone know what might be wrong here?

Thanks,
Fred
fred7269
 
Posts: 5
Joined: Tue May 13, 2008 8:20 am

Postby JIDE Support » Tue May 13, 2008 9:00 am

I am not sure what's going on. It is strange that AbstractDemo is there (if that is the one in our demo). AbstractDemo is part of our demos. It should never be in your production environment.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Postby fred7269 » Tue May 13, 2008 10:28 am

I'm trying the following -- even if I try one of your examples directly, I still get the same problem (Thanks for the quick reply!):

import com.jidesoft.combobox.*;

import javax.swing.JFrame;
import javax.swing.JPanel;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;

import java.util.*;

public class cpivot extends JFrame {

// Read profiles ...

public cpivot() {

setTitle("Test");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

setSize(510, 270);
//TableModelPivotDataSource tpds = new TableModelPivotDataSource();
ColorComboBox at = new ColorComboBox();


JMenu file = new JMenu("File");
file.setMnemonic(KeyEvent.VK_F);

JMenuItem fileOpen = new JMenuItem("Open"); //, iconOpen);
fileOpen.setMnemonic(KeyEvent.VK_O);

JMenuItem fileClose = new JMenuItem("Close"); //, iconClose);
fileClose.setMnemonic(KeyEvent.VK_C);

fileClose.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
System.exit(0);
}

});

file.add(fileOpen);
file.add(fileClose);

JMenuBar menubar = new JMenuBar();
menubar.add(file);
add(at);
setJMenuBar(menubar);

setLocationRelativeTo(null);
setVisible(true);

}
public static void main(String[] args) {
new cpivot();
}
}
fred7269
 
Posts: 5
Joined: Tue May 13, 2008 8:20 am

Postby JIDE Support » Tue May 13, 2008 10:33 am

Can you please tell me exactly what you are doing? I don't think the source code matters here. Are you opening exclipe project under examples folder and try to run one of our demos?

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Postby fred7269 » Tue May 13, 2008 11:12 am

It works when I create the project in examples and try to run one of the examples but I was hoping to start a project from scratch and just add in the external jars. I was adding in: jide-common.jar and jide_demo.jar
fred7269
 
Posts: 5
Joined: Tue May 13, 2008 8:20 am

Postby JIDE Support » Tue May 13, 2008 11:23 am

I see. It won't work. The jide-demo.jar is a fully obfuscated and you can use it in your development environment. If you are still evaluating, please get eval package. There is an instruction at http://www.jidesoft.com/forum/viewtopic.php?t=10 which tells you how to get it. If you only will use the open source JCL, you should include jide-oss-xxx.jar from https://jide-oss.dev.java.net where xxx is the version.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 64 guests