Commit e837263f authored by chiaming2000's avatar chiaming2000
Browse files

Update pom.xml so that the following command will work properly.

java -jar ./target/Demo1-0.0.1-SNAPSHOT-jar-with-dependencies.jar
parent 3ab60a27
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
							</archive>
							<manifest>
								<addClasspath>true</addClasspath>
								<mainClass>com.jim.Demo1</mainClass>
								<mainClass>com.jim.KineticDemo1</mainClass>
							</manifest>
							<finalName>Demo1-${project.version}</finalName>
							<outputDirectory>${project.build.directory}</outputDirectory>
@@ -44,7 +44,7 @@
				<configuration>
					<archive>
						<manifest>
							<mainClass>com.jim.Demo1</mainClass>
							<mainClass>com.jim.KineticDemo1</mainClass>
						</manifest>
					</archive>
					<descriptorRefs>
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class KineticDemo1 {
		
		// Choose a L&F
		for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
			log.finest(()->{return "Installed L&F: " + info.getName();});
            // log.finest(()->{return "Installed L&F: " + info.getName();});
			if ("Mac OS X".equals(info.getName())) {
				UIManager.setLookAndFeel(info.getClassName());
			}