PDEGraphics2D Icon


Output Processing script from Java AWT/Swing paint call

Add a Review
0 Downloads (This Week)
Last Update:
Download PDEGraphics2D_1_0_0b.zip
Browse All Files
Windows Mac Linux


Use PDEGraphics2D to create Processing vector graphics script files and deploy them in HTML.

To create a PDEGraphics2D instance, pass the constructor an instance of a standard Graphics2D object, together with the size of the canvas to paint:

PDEGraphics2D g= new PDEGraphics2D(Graphics2D g, int w, int h)
PDEGraphics2D g= new PDEGraphics2D(Graphics2D g, Dimension d)

Alternatively, pass the component to paint as the input to one of the static paint methods:

PDEGraphics2D g=PDEGraphics2D.paint(Component c);
PDEGraphics2D g=PDEGraphics2D.paint(JComponent c);
PDEGraphics2D g=PDEGraphics2D.paint(Window c);
PDEGraphics2D g=PDEGraphics2D.paint(JApplet c);

The getCode(..) and write(....) methods can then be used to access the generated script and create HTML documents.

PDEGraphics2D Web Site


Other Useful Business Software

Communicate & Connect with Ring Central's VoIP Solution Icon

Cloud Powered Business Phone System

Communicate & Connect with Ring Central's VoIP Solution Icon
1 of 5 2 of 5 3 of 5 4 of 5 5 of 5
129 Reviews
  • Unrivaled value & reliability in one solution
  • Unlimited Calls/SMS/Conferencing/Fax
  • Trusted by 350,000+ Businesses
Write a Review

User Reviews

Be the first to post a review of PDEGraphics2D!

Additional Project Details

Intended Audience

End Users/Desktop

User Interface

Java Swing, Java AWT, Web-based

Programming Language

JavaScript, Java



Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks