<?xml version="1.0"?>
<!DOCTYPE import-control PUBLIC
    "-//Checkstyle//DTD ImportControl Configuration 1.3//EN"
    "https://checkstyle.org/dtds/import_control_1_3.dtd">

<import-control pkg="com.puppycrawl.tools.checkstyle.checks.imports"
                strategyOnMismatch="disallowed">
  <subpackage name="importcontrol" strategyOnMismatch="allowed">
    <disallow class="java\..*\.Image" local-only="true" regex="true"/>
    <disallow pkg="javax\.swing" regex="true"/>
  </subpackage>
</import-control>
