phramusca

This is my homepage.

View on GitHub

Java

J’utilise pour ma part NetBeans comme IDE (un autre équivalent est le bien connu Eclipse, que je ne connais que très peu)

Généralités

Log

Librairies

Nom Description Documentation Download
SQLite JDBC Driver SQLite   https://github.com/xerial/sqlite-jdbc
MySQL Connector/J MySQL - Tutoriel http://dev.mysql.com/downloads/connector/j/5.1.html
Apache Commons Net FTP, Telnet, POP3, FTP, SMTP, … - Exemples
- Exemple upload/download FTP
- FTP Binary mode
http://commons.apache.org/net/download_net.cgi
JSch - Java Secure Channel SSH   http://www.jcraft.com/jsch/
javax.comm Ports Série (serial port) - Tutoriel
- Tuto en anglais - utile ?
- Windows Installation Guide
 
Jaudiotagger MP3 ID3 tag (2011-?) Autres librairies (outdated) :
- mp3agic (2010-2011)
- entagged (2003-2006)
- javamusictag (2003-2006)
 
Java Excel API (jxl) Excel - Tutoriel A tester : http://poi.apache.org/  
lastfm-java Last.fm API bindings for Java    
JLayer MP3 decoder/player/converter library for Java™ platform.    
ini4j Java API for handling Windows ini file format    
jCharts Charts See also: JFreeChart (a tester, plus compliqué mais plus puissant apparemment)  
coverartarchive-api MusicBrainz Cover Art Archive API To use a proxy: First, make DefaultCoverArtArchiveClient(HttpClient client) public in DefaultCoverArtArchiveClient class
Then:
DefaultHttpClient httpclient = new DefaultHttpClient();<br>HttpHost proxy = new HttpHost("xx.xx.xx.xx", 8080);<br>httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);<br>CoverArtArchiveClient client = new DefaultCoverArtArchiveClient(httpclient);
 
musicbrainzws2-java Java binding for MusicBrainz XML Web Service/Version 2 Autres librairies (to be tested) :
- musicbrainz-data (Need to learn more about Spring framework and eventually Maven: forum issue)
- javamusicbrainz
 
JAVE Java Audio Video Encoder    

Runtime exec et Threads

Misc

Swing

     
Component Description Lien
  Double click http://www.developpez.net/forums/d539105/java/interfaces-graphiques-java/awt-swing/composants/listes/jlist-double-clique-element/#
JTable Hide/Show columns http://www.stephenkelvin.de/XTableColumnModel/
  Choose the color of a JTable cell http://www.javaworld.com/article/2077430/core-java/set-the-jtable.html
  Horizontal scrollbar http://stackoverflow.com/questions/2452694/jtable-horizontal-scrollbar-in-java http://stackoverflow.com/questions/3857807/java-swing-problems-with-horizontal-scroll-for-a-jtable-embedded-in-a-jscrolled
  How to Insert Image into JTable Cell http://stackoverflow.com/questions/4941372/how-to-insert-image-into-jtable-cell
  JButton in a JTable cell http://www.theinsanetechie.in/2013/08/java-jbutton-in-jtable-cell.html
  Click event http://stackoverflow.com/questions/7350893/click-event-on-jtable-java
ImageIcon Creating border around ImageIcon on a JLabel, not around the Jlabel http://stackoverflow.com/questions/7350893/click-event-on-jtable-java

String

   
Description Lien
Left-padding integers http://stackoverflow.com/questions/473282/left-padding-integers-with-zeros-in-java
Date format http://30minparjour.la-bnbox.fr/post/2010/petit-point-sur-simpledateformat

En vrac (pour l’instant)

Maven (A TESTER)

JAR Version

A étudier plus sérieusement

Include librairies in JAR

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
    <descriptorRefs>
    <descriptorRef>jar-with-dependencies</descriptorRef>
    </descriptorRefs>
  </configuration>
  <executions>
    <execution>
      <id>make-assembly</id>
      <phase>package</phase>
      <goals>
        <goal>attached</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<target name="-post-jar">
  <jar jarfile="dist/finalApp.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/log4j-1.2.16.jar" excludes="META-INF/*" />
    <manifest>
      <attribute name="Main-Class" value="com.example.package.Main"/>
    </manifest>
  </jar>
</target>