| | | | Browse by category |
Question
How can I render the border of Activities as dotted lines?
Answer
First, you need to create your own subclass ActivityRendererFactory to return instances of your own subclass of IlvActivityBar. In your subclass of IlvActivityBar, you overwrite the draw method. Note : To render the inside of the Activity "transparent", simply do not draw anything inside. This is shown in the attached sample:
Also note that to run this sample with JViews 8.8 include icu4j-4_8.jar in the classpath. icu4j-4_8.jar is located in the JViews framework installation "\lib\external\" subdirectory. However for JViews 8.6, you must comment out the call to ilog.views.util.IlvProductUtil.DeploymentLicenseRequired (line 328 of ScheduleExample.java). You do not have to include icu4j-4_8.jar in the classpath.