Recommendation: Java Visualization API free download
My goal is to visualize a large cyclical graph in 3D. Can you recommend a simple API to ramp me up into your best recommendation to help me reach my goal.
just some advice: don't try to do anything fancy til you've nailed the basics. you've got some work ahead of you.
Similar Messages
-
Can someone tell me, where I can find the java 2d API jar downloads.
Gentlepersons,
I am attempting to use vecmath.jar for a new app, and have apparently been bereft of the search gene. Can anyone tell me where to go (no, not figuratively) to get vecmath.jar (download site?)
Kindest regards
Dave -
Where can i download java speech api?
Hi All,
Where can i download java speech api?
ThanksThanks for the java speech download recommendations. I am going to give it a try on my site.
[Tony From Sports Betting Picks|http://tonyspicks.com/contact-tony/about/]
Edited by: tonyt42 on Apr 9, 2009 10:01 PM -
Where I can download JAVA SPEECH API implementation?.
I have been searching in web, there are many options.
I'm spanish, please, sorry for my poor english.
Edited by: Valhalla on Feb 25, 2009 9:03 AMfollow the below links...
http://freetts.sourceforge.net/docs/index.php
http://freetts.sourceforge.net/docs/jsapi_setup.html -
Is there a way to download the entire Java 6 API to my computer so that I don't need internet access for it?
Thanksok, im having problems downloading THIS jre-6u1 i started it the first time but it was so slow i canceled the install, then i tried a second time i get this HTTP STATUS CODE=302 unable to install- Anyone have a solution? I've tried restore, nothing works
-
I want to download Java Speech API jar file where can I get that ?
hi All
i started development on the Java Speech API. so were i can download the jar file and also if any one having the Maven artifact Id / group Id. please post it.it may helpful for me.
Thanks
JegaSun has no such API like Java Speech API in their J2SE but there r other third parties api like FreeTTS which can be used
to code speech apps.
http://nchc.dl.sourceforge.net/project/freetts/FreeTTS/FreeTTS%201.2.2/freetts-1.2.2-bin.zip -
Hi,
From where can i get Java 3D API
It must provided by oracle onlySeeing as you abandoned your earlier thread
How to extends any Exsinting VO
and didn't bother replying to AJ's helpful response theree, I wish you luck getting more help here.
db -
I have received a pop-up advisory from Firefox several times, saying that my Free Download Manager is not compatible with the recommended 5.0.1 upgrade and wold have to be disabled until the compatibility problem was corrected.
(I think that I did download it, and that was when I got the first warning. I visited my download m manager shortly afterward, and all my download history had disappeared. I think that I then reversed the upgrade.)
Since then, my emails will load only in Basic HTML, which I have several problems with. I don't know if that is a Google or a Firefox problem.
So, my initial problem is that I need a reliable and easy to use free downloader before I can upgrade and get my Standard HTML back.
What free Download Managers are compatible with Firefox 5.0.1?
While we're at it, is 5.0.1 Beta? And what is Beta?Solution: (Free Download Manager)
Go here: http://codecpack.co/download/Free_Download_Manager.html and download Free Download Manager 3.8.1067 Beta 3, it works perfectly with Firefox 5.0.1
Solution: (to Google mail aka Gmail)
I have had this problem for a while since I did a previous Firefox update, where I had to force Gmail to load in Basic HTML else it's next to impossible to use it. The solution is this: simply update your Java, and Gmail will work without a problem using Standard HTML. To update your Java go here: http://www.java.com/en/ and select "Free Java Download".
And beta normally, universally, means "the not quite there yet version of the version we're aiming for" NORMALLY used during production and testing of a type of software. -
Complete working code for Gmail POP3 & SMTP with SSL - Java mail API
Finally, your code-hunt has come to an end!!!!
I am presenting you the complete solution (with code) to send and retrieve you mails to & from GMAIL using SMTP and POP3 with SSL & Authenticaion enabled. [Even starters & newbies like me, can easy try, test & understand - But first download & add JAR's of Java Mail API & Java Activation Framework to Netbeans Library Manager]
Download Java Mail API here
http://java.sun.com/products/javamail/
Read Java Mail FAQ's here
http://java.sun.com/products/javamail/FAQ.html
Download Java Activation Framework [JAF]
http://java.sun.com/products/javabeans/jaf/downloads/index.html
Also, The POP program retrieves the mail sent with SMTP program :) [MOST IMPORTANT & LARGELY IN DEMAND]okey.. first things first... all of your thanks goes to the following and not a s@!te to me :)
hail Java !!
hail Java mail API !!
hail Java forums !!
hail Java-tips.org !!
hail Netbeans !!
Thanks to all coders who helped me by getting the code to work in one piece.
special thanks to "bshannon" - The dude who runs this forum from 97!!I am just as happy as you will be when you execute the below code!! [my 13 hours of tweaking & code hunting has paid off!!]
Now here it is...I only present you the complete solution!!
START OF PROGRAM 1
SENDING A MAIL FROM GMAIL ACCOUNT USING SMTP [STARTTLS (SSL)] PROTOCOL OF JAVA MAIL APINote on Program 1:
1. In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
2. Use the code to make your Gmail client [jsp/servlets whatever]
//Mail.java - smtp sending starttls (ssl) authentication enabled
//1.Open a new Java class in netbeans (default package of the project) and name it as "Mail.java"
//2.Copy paste the entire code below and save it.
//3.Right click on the file name in the left side panel and click "compile" then click "Run"
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class Main
String d_email = "[email protected]",
d_password = "PASSWORD",
d_host = "smtp.gmail.com",
d_port = "465",
m_to = "[email protected]",
m_subject = "Testing",
m_text = "Hey, this is the testing email.";
public Main()
Properties props = new Properties();
props.put("mail.smtp.user", d_email);
props.put("mail.smtp.host", d_host);
props.put("mail.smtp.port", d_port);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
//props.put("mail.smtp.debug", "true");
props.put("mail.smtp.socketFactory.port", d_port);
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.socketFactory.fallback", "false");
SecurityManager security = System.getSecurityManager();
try
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getInstance(props, auth);
//session.setDebug(true);
MimeMessage msg = new MimeMessage(session);
msg.setText(m_text);
msg.setSubject(m_subject);
msg.setFrom(new InternetAddress(d_email));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
Transport.send(msg);
catch (Exception mex)
mex.printStackTrace();
public static void main(String[] args)
Main blah = new Main();
private class SMTPAuthenticator extends javax.mail.Authenticator
public PasswordAuthentication getPasswordAuthentication()
return new PasswordAuthentication(d_email, d_password);
END OF PROGRAM 1-----
START OF PROGRAM 2
RETRIVE ALL THE MAILS FROM GMAIL INBOX USING Post Office Protocol POP3 [SSL] PROTOCOL OF JAVA MAIL APINote:
1.Log into your gmail account via webmail [http://mail.google.com/]
2.Click on "settings" and select "Mail Forwarding & POP3/IMAP"
3.Select "enable POP for all mail" and "save changes"
4.In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
PROGRAM 2 - PART 1 - Main.java
//1.Open a new Java class file in the default package
//2.Copy paste the below code and rename it to Mail.java
//3.Compile and execute this code.
public class Main {
/** Creates a new instance of Main */
public Main() {
* @param args the command line arguments
public static void main(String[] args) {
try {
GmailUtilities gmail = new GmailUtilities();
gmail.setUserPass("[email protected]", "PASSWORD");
gmail.connect();
gmail.openFolder("INBOX");
int totalMessages = gmail.getMessageCount();
int newMessages = gmail.getNewMessageCount();
System.out.println("Total messages = " + totalMessages);
System.out.println("New messages = " + newMessages);
System.out.println("-------------------------------");
//Uncomment the below line to print the body of the message. Remember it will eat-up your bandwidth if you have 100's of messages. //gmail.printAllMessageEnvelopes();
gmail.printAllMessages();
} catch(Exception e) {
e.printStackTrace();
System.exit(-1);
END OF PART 1
PROGRAM 2 - PART 2 - GmailUtilities.java
//1.Open a new Java class in the project (default package)
//2.Copy paste the below code
//3.Compile - Don't execute this[Run]
import com.sun.mail.pop3.POP3SSLStore;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Date;
import java.util.Properties;
import javax.mail.Address;
import javax.mail.FetchProfile;
import javax.mail.Flags;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.Part;
import javax.mail.Session;
import javax.mail.Store;
import javax.mail.URLName;
import javax.mail.internet.ContentType;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.ParseException;
public class GmailUtilities {
private Session session = null;
private Store store = null;
private String username, password;
private Folder folder;
public GmailUtilities() {
public void setUserPass(String username, String password) {
this.username = username;
this.password = password;
public void connect() throws Exception {
String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
Properties pop3Props = new Properties();
pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false");
pop3Props.setProperty("mail.pop3.port", "995");
pop3Props.setProperty("mail.pop3.socketFactory.port", "995");
URLName url = new URLName("pop3", "pop.gmail.com", 995, "",
username, password);
session = Session.getInstance(pop3Props, null);
store = new POP3SSLStore(session, url);
store.connect();
public void openFolder(String folderName) throws Exception {
// Open the Folder
folder = store.getDefaultFolder();
folder = folder.getFolder(folderName);
if (folder == null) {
throw new Exception("Invalid folder");
// try to open read/write and if that fails try read-only
try {
folder.open(Folder.READ_WRITE);
} catch (MessagingException ex) {
folder.open(Folder.READ_ONLY);
public void closeFolder() throws Exception {
folder.close(false);
public int getMessageCount() throws Exception {
return folder.getMessageCount();
public int getNewMessageCount() throws Exception {
return folder.getNewMessageCount();
public void disconnect() throws Exception {
store.close();
public void printMessage(int messageNo) throws Exception {
System.out.println("Getting message number: " + messageNo);
Message m = null;
try {
m = folder.getMessage(messageNo);
dumpPart(m);
} catch (IndexOutOfBoundsException iex) {
System.out.println("Message number out of range");
public void printAllMessageEnvelopes() throws Exception {
// Attributes & Flags for all messages ..
Message[] msgs = folder.getMessages();
// Use a suitable FetchProfile
FetchProfile fp = new FetchProfile();
fp.add(FetchProfile.Item.ENVELOPE);
folder.fetch(msgs, fp);
for (int i = 0; i < msgs.length; i++) {
System.out.println("--------------------------");
System.out.println("MESSAGE #" + (i + 1) + ":");
dumpEnvelope(msgs);
public void printAllMessages() throws Exception {
// Attributes & Flags for all messages ..
Message[] msgs = folder.getMessages();
// Use a suitable FetchProfile
FetchProfile fp = new FetchProfile();
fp.add(FetchProfile.Item.ENVELOPE);
folder.fetch(msgs, fp);
for (int i = 0; i < msgs.length; i++) {
System.out.println("--------------------------");
System.out.println("MESSAGE #" + (i + 1) + ":");
dumpPart(msgs[i]);
public static void dumpPart(Part p) throws Exception {
if (p instanceof Message)
dumpEnvelope((Message)p);
String ct = p.getContentType();
try {
pr("CONTENT-TYPE: " + (new ContentType(ct)).toString());
} catch (ParseException pex) {
pr("BAD CONTENT-TYPE: " + ct);
* Using isMimeType to determine the content type avoids
* fetching the actual content data until we need it.
if (p.isMimeType("text/plain")) {
pr("This is plain text");
pr("---------------------------");
System.out.println((String)p.getContent());
} else {
// just a separator
pr("---------------------------");
public static void dumpEnvelope(Message m) throws Exception {
pr(" ");
Address[] a;
// FROM
if ((a = m.getFrom()) != null) {
for (int j = 0; j < a.length; j++)
pr("FROM: " + a[j].toString());
// TO
if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
for (int j = 0; j < a.length; j++) {
pr("TO: " + a[j].toString());
// SUBJECT
pr("SUBJECT: " + m.getSubject());
// DATE
Date d = m.getSentDate();
pr("SendDate: " +
(d != null ? d.toString() : "UNKNOWN"));
static String indentStr = " ";
static int level = 0;
* Print a, possibly indented, string.
public static void pr(String s) {
System.out.print(indentStr.substring(0, level * 2));
System.out.println(s);
}END OF PART 2
END OF PROGRAM 2
P.S: CHECKING !!
STEP 1.
First compile and execute the PROGRAM 1 with your USERNAME & PASSWORD. This will send a mail to your own account.
STEP 2.
Now compile both PART 1 & PART 2 of PROGRAM 2. Then, execute PART 1 - Main.java. This will retrive the mail sent in step 1. njoy! :)
In future, I hope this is added to the demo programs of the Java Mail API download package.
This is for 3 main reasons...
1. To prevent a lot of silly questions being posted on this forum [like the ones I did :(].
2. To give the first time Java Mail user with a real time working example without code modification [code has to use command line args like the demo programs - for instant results].
3. Also, this is what google has to say..
"The Gmail Team is committed to making sure you always can access your mail. That's why we're offering POP access and auto-forwarding. Both features are free for all Gmail users and we have no plans to charge for them in the future."
http://mail.google.com/support/bin/answer.py?answer=13295
I guess bshannon & Java Mail team is hearing this....
Again, Hurray and thanks for helping me make it!! cheers & no more frowned faces!!
(: (: (: (: (: GO JCODERS GO!! :) :) :) :) :)
codeace
-----Thanks for the reply,
I did checked by enabling session debuging and also checked pop settings it's enabled for all
mails, I tried deleting some very old messages and now the message count is changed to 310.
This may be the problem with gmail.
Bellow is the output i got,
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]
DEBUG POP3: connecting to host "pop.gmail.com", port 995, isSSL false
S: +OK Gpop ready for requests from 121.243.255.240 n22pf5432603pof.2
C: USER [email protected]
S: +OK send PASS
C: PASS my_password
S: +OK Welcome.
C: STAT
S: +OK 310 26900234
Custom output: messageCount : 310
C: QUIT
S: +OK Farewell. -
Suggestions on a Java PDF API?
I need some help finding a suitable PDF API for Java. My web application is comprised of a Java Servlet and a Java ServerPages.
The JSP generates a HTML output which I need to create a PDF from.
I have seen some on iText, but it seems limited and lacking the full PDF spesification, and only seens to support PDF version 1.4
It seems like the really good Java PDF API's cost plenty of money. What I need is an not nescesary Open Source, but free. But Open Source would be nice.i-Text is an open source programmatic PDF generator. You can also use XSL-FO to render a PDF (download FOP from Apache). Adobe recently open sourced the PDF format, so there are probably even more offerings out now than those.
- Saish -
Free Download Oracle Kodo library
Hi All,
I'm newbie to JPA.
I'm developing on Weblogic Workshop 10.3.
I'm trying to add facets of JPA(1.0) and Oracle Kodo(4.1). I tried to add KODO library from Oracle site. (Selected Option, Use Oracle Kodo library from ORacle web site).
I get the following exception:
Failed while downloading Oracle Kodo library from Oracle site.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I'm not able to see which URL workshop i strying to connect to.
Is there any free download of KODO library. I had tried to download in the past and I was able to download it successfully.
Any ideas?
Thanks,
AnaghaYou can download Kodo for development use from the Oracle E-Delivery website.
http://edelivery.oracle.com:
Kodo 4.1.4 for Microsoft Windows (32-bit) B48311-01 31M
I'd however recommend that you instead look at using EclipseLink instead of Kodo for any JPA investigations/development projects you are embarking on. We have deprecated Kodo from WLS 11g R1 and our direction is to use EclipseLink as our Java persistence provider.
I'd also recommend that you look to using Oracle Enterprise Pack for Eclipse (OEPE) instead of Oracle WebLogic Workshop -- OEPE has EclipseLink/JPA support bundled within in.
http://www.oracle.com/technology/products/enterprise-pack-for-eclipse/troubleticket/part_1_jpa/jpatutorial.htm
-steve- -
My Plug in "Free Download Manager" stopped working after update
== Issue
==
I have another kind of problem with Firefox
== Description
==
My Plug in = "Free Download Manager" stopped working after I updated FIrefox !
It worked fine previously ! What did I do wrong ??
**** Also I've forgotten my User name, but Firefox says that my email is registered already
I was on some other Internet provider; and have been a PC user since 1987 ! I am a Retired Network Administrator for both Microsoft NT4 & Novell 4.x Networking; and a former IS Dept. Tech' for an Orlando, FL Corp' that had over 500 PC's;
both Lap & Desk Top for some 3 1/2 yrs.
***** I CONSTANTLY RECOMMEND FIREFOX TO EVERYONE THAT IS EITHER MY CLIENT -- OR ANY OTHER CASUAL CONTACT *****
***** In fact I suggested your Browser to 3 people Today; Wed. the 14th of July 2010 *****
Respectfully;
Raymond E Bachelor
aka "New System Services"
<blockquote>Removed personal info. Please don't out yourself, or post personal info on forums. thanks! -T </blockquote>
== This happened
==
Every time Firefox opened
== I updated Firefox to the Newest Version !
==
== Troubleshooting information
==
PLEASE !!!!
SEND ME MY LOGIN INFO I have an active email entry; but I've lost track of my Username over the years !
== Firefox version
==
3.6.6
== Operating system
==
Windows XP
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
== Plugins installed
==
*-Shockwave Flash 10.1 r53
*Adobe Acrobat Plug-In Version 7.00 for Netscape
*Office Plugin for Netscape Navigator
*np-mswmp
*getplusplusadobe16263
*Default Plug-in
*Delivery Network Acceleration by BitTorrent™
*Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
*Npdsplay dll
*DRM Store Netscape Plugin
*DRM Netscape Network ObjectI hate it when updates break things instead of fixing them. Can't Mozilla leave well enough alone? At the very least, each new release should be tested so it works with ALL PREVIOUS extensions!
Wait till you "update" to firefox 4 and EVERYthing breaks, including the buttons that come with it. There is no arrow next to the dropdown button, right clicking the tab bar doesn't bring up the correct menu, but one as though it were the menu bar (which is missing) and the information bar is missing. True, it's fast, but you'll spend weeks getting it to work properly. -
Newbie question on the Java communications API
Hi All,
I found the javax.comm extension package that lets me listen to the serial port of the PC, but am unsure as to how to use it. Well, I've tried running the SimpleRead.java program and I get an error message that says the package is missing in the import (which I assume means that I havent downloaded it and added it to one of the folders in my Java directory). Where can I find the package from? And am I missing anything else?
In case you're all wondering, I've got a microcontroller attached to the serial port that sends data periodically. I would like to use the Java comm API to read the incoming data (and if possible store it in the form of a text file or something). Any suggestions would be great as I'm still new to Java. More of a C/C++ person (^_^) Thanks in advance.....Did you try using that little search field in the upper right hand corner of your browser?
-
Using API to download the webi document in the XML format
I am just trying to use this API to download the webi document in the XML format. I need a sample XSL file which we can use to download the XML in a formatted output.
http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/RE_SDK/resdk_java_doc/doc/resdk_java_apiRef/com/businessobjects/rebean/wi/XMLView.html
getReader
public java.io.Reader getReader(java.net.URL xsl)
throws REException
Return the result of the XSL transformation applied to the XML report output stream.
Parameters:
xsl - URL to an XSL file used to transform report XML.
Since:
11.5
See Also:
getReader()If the same content of file already thr in the Internal table as 1 STRING/LINE then you can loop the internal table count the entries which one you want like
Kanagaraja L -
Getting free download of javax.mail package
where can i get free download for javax.mail package
Which can be used for retrieving mails/attachmentshttp://java.sun.com/products/javamail/index.html
Maybe you are looking for
-
Reinstall OS X Mavericks on Macbook Pro
Trying to reinstall OS after the machine wouldn't work when I tried OS upgrade. I formatted Macintish HD. It looks like it downloads successfully but never restarts afterwards. No matter what I try it just boots into OS X Utilities. When I go int
-
How to move all files to the top level folder?
I want to move all files within a particular folder -- and all files in all sub folders -- to the top level. i.e. I want to collapse the folder structure to just one folder. Assume that there are no files with the same name. *Method 1* My first thoug
-
What does a triangle with an exclamation mark mean?
In Photos I see a thumbnail. When I click to see it alone I get a black screen with a triangle with an exclamation mark in it...what is going on?
-
Urgent: java.sql.SQLException: Protocol Violation
Hi, I have Apache Web server installed and i've been acessing an Oracle 8i Database. Everything was working ok, but at some point when trying accessing the database it gave me this error, java.sql.SQLException Protocol Violation. I've revewied all th
-
Iphoto to Lightroom??
Hi there.. I changing from iPhoto and Aperture to Lightroom.... I have followed all the instructions from Adobe of how to import the photos from iPhoto etc - but it just causes Lightroom to freeze... has anyone else experienced this and found out