PDA

View Full Version : Creating CustomCodePanels with IntelliJ(2015) UI Designer



ohadbn
02-14-2016, 04:13 AM
Hello,

I'm trying to make a custom panel but for some reason it doesn't work.

I followed this tutorial but it didn't work:
http://resources.flexerasoftware.com/web/pdf/archive/ia_create_cust_code_panel_eclipse.pdf

Here's what i tried to do:

1. I used the code template from the InstallAnywhere folder (IA_HOME\CustomCode\Templates\com\acme\CustomCodePanelTemplate.java)
2. I used IntelliJ uiDesigner to build a simple form
3. I built the JAR file with maven, the file holds only the compiled class file
4. I added a custom code panel to the InstallAnywhere project sequence (Add Action -> Panels -> Custom Code)
5. I imported the Custom Panel I made (I chose the JAR file)
6. I entered the Class of the Custom Panel
7. I added rt.jar (From the JRE\lib folder) to the Dependencies of the Custom Code Panel (because it holds javax.swing.*)
8. I built the installer & ran it

For some reason the Custom Panel I made doesn’t show-up in the new compiled installer..

Is there something I’m missing?
Is there a REAL tutorial / explanation / documentation made by Flexera for this process?
your documents are lacking a lot of information and are not helpful at all!!!