SDN Share (pilot)

Submit original content.
Earn reward points.
Cash in points for cool gifts from Amazon.com.

Welcome to SDN Share, your source for community-contributed code, tech tips, and articles. Please browse the posts below. Submit content and start earning rewards for your contributions.

register | login

sort by:
filter by:   Advanced


Vote Total
1
Very Cool
Needs Work

Strange Socket Behavior and Solution.

0 comments, 10 freshness points, 4 goodness points
Submission of type Tech Tip by N_i_X Aug 25, 2008 2:26:20 AM | Tags: Exception Socket,
category: Java SE/Networking/RMI About Socket behavior.


Vote Total
0
Very Cool
Needs Work

LinkLabel Using the Desktop Class

1 comments, 1 freshness points, 0 goodness points
Submission of type Code Sample by AndrewThompson64 Aug 23, 2008 2:01:44 AM | Tags: Desktop label link
category: Desktop There are a lot of link labels. This one uses the Java 1.6+ Desktop class for its functionality, and is thereby suitable for applets, applications launched using JWS, and 'standard' (non-JWS) desktop applications.


Vote Total
0
Very Cool
Needs Work

Defensive Loading of Trusted Applets

0 comments, 0 freshness points, 0 goodness points
Submission of type Code Sample by AndrewThompson64 Aug 16, 2008 12:51:22 AM | Tags: applet defensive fall-back trust
category: Java/Deployment An example of loading trusted applets in a 'defensive' way, so that they provide logical feedback to a user who refuses the digitally signed code. This applet provides a JEditorPane to view documents identified using a ...


Vote Total
0
Very Cool
Needs Work

Comma Separated Values (CSV) Splitter

2 comments, 0 freshness points, 0 goodness points
Submission of type Code Sample by corlettk Aug 7, 2008 7:12:35 AM | Tags: CSV;silly little tools
category: Java This is just another Whatever Separated Values string splitter. I thought someone might find it useful. It's only mark of distinction over the others (there are plenty) which I've looked at is they all trim the field-data, in this ...


Vote Total
2
Very Cool
Needs Work

Store Application Settings and Components

0 comments, 0 freshness points, 8 goodness points
Submission of type Code Sample by AndrewThompson64 Jul 26, 2008 5:44:26 AM | Tags: path runtime user.home
category: Java/Deployment How do I find the application path? This is a FAQ related to storing application configuration files, or accessing tools (e.g. a database or plug-in directory) used by an application. The 'smart answer' to this question is ...


Vote Total
-4
Very Cool
Needs Work

Page Navigation

0 comments, -16 freshness points, -16 goodness points
Submission of type Code Sample by Jayaganesh Jul 25, 2008 4:26:32 AM | Tags: JSP JavaEE Servlet
category: Java EE/JavaServer Pages (JSP)/JSP Standard Tag Library (JSTL) This code sample navigates the number of pages listed from database contents in a JSP page in an efficient way.


Vote Total
0
Very Cool
Needs Work

Show Exported Date of a Oracle Dump File

0 comments, 0 freshness points, 0 goodness points
Submission of type Code Sample by thiru.k Jul 12, 2008 1:09:45 PM | Tags: dmp dump export java oracle
category: Java Code sample to show oracle dump exported date.


Vote Total
0
Very Cool
Needs Work

TNSNames.ora parser

0 comments, 0 freshness points, 0 goodness points
Submission of type Code Sample by thiru.k Jul 12, 2008 1:05:46 PM | Tags: , ,oracle java parser tnsnames
category: Java Oracle tnsnames.ora parser.


Vote Total
2
Very Cool
Needs Work

ScriptEngine JavaScript Evaluator

1 comments, 0 freshness points, 10 goodness points
Submission of type Code Sample by AndrewThompson64 Jul 11, 2008 10:26:36 AM | Tags: ECMAScript JavaScript ScriptEngine ScriptEngineManager evaluate expression
category: Java/Scripting Example of using the ECMAScript (JavaScript) engine provide in J2SE 6 to evaluate simple JavaScript expressions. The ECMAScript engine is the only one available 'out of the box', but others can be added using the service provider ...


Vote Total
5
Very Cool
Needs Work

Dynamic width JComboBox

0 comments, 0 freshness points, 20 goodness points
Submission of type Code Sample by david_david Jul 10, 2008 11:43:45 PM | Tags: Dynamic JComboBox swing width
category: Desktop The popup of the JCombo will automatically increase its width according to its items width. It is useful to view the items to its full length. JComboButton is an arrow button.

 
  [Results 1 - 10 of 331]
2  3  4  5  6  7  8  9  10   Next
     
 
An RSS feed of all posts all SDN Share posts
   


 
Post Content
Earn Rewards

Disclaimer

This site may contain articles or other submissions created by third parties ("Content"). All views expressed in the Content are the views of the author, and Sun is not responsible for the accuracy of the Content or for the views expressed.