-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
138 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
mkdir("build"); | ||
mkdir("build/classes"); | ||
|
||
javac("src", "build/classes"); | ||
copy("res", "build/classes"); | ||
|
||
mkdir("dist"); | ||
var name = "calendar"; | ||
jar("dist/" + name + ".jar", "build/classes"); | ||
|
||
publish("dist") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
var organization = "net.java.linoleum"; | ||
var module = "calendar"; | ||
var version = "1.6"; | ||
|
||
install(organization + "#" + module + ";" + version, "default", new File(getHome(), "lib")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ivy-module version="2.0"> | ||
<info module="calendar" organisation="net.java.linoleum" revision="1.6"/> | ||
<configurations> | ||
<conf name="default" extends="runtime,master"/> | ||
<conf name="master"/> | ||
<conf name="compile"/> | ||
<conf name="runtime"/> | ||
<conf name="compile-test"/> | ||
<conf name="runtime-test"/> | ||
</configurations> | ||
<dependencies> | ||
<dependency org="net.java.linoleum" name="application" rev="1.6" conf="compile->master;runtime->default"/> | ||
<dependency org="com.toedter" name="jcalendar" rev="1.4" conf="compile->master;runtime->default"/> | ||
</dependencies> | ||
</ivy-module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
linoleum.calendar.Calendar |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JInternalFrameFormInfo"> | ||
<Properties> | ||
<Property name="closable" type="boolean" value="true"/> | ||
<Property name="iconifiable" type="boolean" value="true"/> | ||
<Property name="title" type="java.lang.String" value="Calendar"/> | ||
<Property name="frameIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/com/toedter/calendar/images/JCalendarColor16.gif"/> | ||
</Property> | ||
</Properties> | ||
<SyntheticProperties> | ||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/> | ||
</SyntheticProperties> | ||
<AuxValues> | ||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | ||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||
</AuxValues> | ||
|
||
<Layout> | ||
<DimensionLayout dim="0"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="jCalendar1" alignment="0" max="32767" attributes="0"/> | ||
</Group> | ||
</DimensionLayout> | ||
<DimensionLayout dim="1"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="jCalendar1" alignment="0" max="32767" attributes="0"/> | ||
</Group> | ||
</DimensionLayout> | ||
</Layout> | ||
<SubComponents> | ||
<Component class="com.toedter.calendar.JCalendar" name="jCalendar1"> | ||
<Properties> | ||
<Property name="decorationBordersVisible" type="boolean" value="true"/> | ||
<Property name="todayButtonVisible" type="boolean" value="true"/> | ||
</Properties> | ||
</Component> | ||
</SubComponents> | ||
</Form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package linoleum.calendar; | ||
|
||
import javax.swing.ImageIcon; | ||
import linoleum.application.Frame; | ||
|
||
public class Calendar extends Frame { | ||
|
||
public Calendar() { | ||
initComponents(); | ||
setDescription("calendar"); | ||
setIcon(new ImageIcon(getClass().getResource("JCalendarColor24.png"))); | ||
} | ||
|
||
@SuppressWarnings("unchecked") | ||
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | ||
private void initComponents() { | ||
|
||
jCalendar1 = new com.toedter.calendar.JCalendar(); | ||
|
||
setClosable(true); | ||
setIconifiable(true); | ||
setTitle("Calendar"); | ||
setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/com/toedter/calendar/images/JCalendarColor16.gif"))); // NOI18N | ||
|
||
jCalendar1.setDecorationBordersVisible(true); | ||
jCalendar1.setTodayButtonVisible(true); | ||
|
||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); | ||
getContentPane().setLayout(layout); | ||
layout.setHorizontalGroup( | ||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
.addComponent(jCalendar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | ||
); | ||
layout.setVerticalGroup( | ||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
.addComponent(jCalendar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | ||
); | ||
|
||
pack(); | ||
}// </editor-fold>//GEN-END:initComponents | ||
|
||
|
||
// Variables declaration - do not modify//GEN-BEGIN:variables | ||
private com.toedter.calendar.JCalendar jCalendar1; | ||
// End of variables declaration//GEN-END:variables | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Version: 1.6-1 | |
Section: java | ||
Priority: optional | ||
Architecture: all | ||
Depends: default-jdk, ivy, libcommons-codec-java, libmail-java | ||
Depends: default-jdk, ivy, libcommons-codec-java, libmail-java, libjcalendar-java | ||
Maintainer: Raphael Jolly <[email protected]> | ||
Homepage: http://linoleum.java.net/ | ||
Description: Java desktop environment and software distribution | ||
|