Improvement #258

Remove javax.swing dependency in cc2480 and CC2530 bundles

Added by Philipp Buluschek about 4 years ago. Updated about 4 years ago.

Status:New Start date:10/02/2014
Priority:Normal Due date:
Assignee:Stefano Lenzi % Done:


Category:zigbee.cc2480.datalink Spent time: -
Target version:org.aaloa.zb4osgi.zigbee.cc2480.datalink-1.X
Has a patch:No Has license agreement signed:No


The current cc2480 cannot easily be used in embedded systems, as it contains a dependency on javax.swing (which are typically headless and don't have the swing libraries).

This dependency is introduced by only one class:

I recommend moving this class out of the bundle, so that the the javax.swing dependency can be removed.
> remove class (possibly move it to tester)
> update bundle imports in zigbee.cc2480.datalink/pom.xml
-> update bundle imports in zigbee.CC2530.driver/pom.xml (which imports javax.swing without need for it)


Task #261: Remove javax.swing dependency when not need and mark as o...NewStefano Lenzi


#1 Updated by Stefano Lenzi about 4 years ago

  • Category set to zigbee.cc2480.datalink
  • Assignee set to Stefano Lenzi
  • Priority changed from Normal to Low
  • Target version set to org.aaloa.zb4osgi.zigbee.cc2480.datalink-1.X

Hi Philipp,

I do agree that we may move all the tools in a kind tool project, and leave only the interface in the zigbee.cc2480.datalink project. Nevertheless, considering that the classes that you have identified are not used most of the time, the easiest solution is to mark the resolution of the javax.swing as optional inside the bundle manifest.

I'm travelling and I cannot change it but I will do as soon as I'm back.

Also available in: Atom PDF