org.eclipse.swt.browser.Browser
I load the embedded browser into java and have it load a page.
It seems to load really slow... is this an issue with the page caching? What can I do to speed this up?
How can I do the equivalent of the Ruby snippet below using Java?
require 'net/http'
res = Net::HTTP.get_response(URI.parse("http://somewhere.com/isalive")).body
I am looking for a open source library in Java for HTML Microsoft Word conversion. I have found many tools for Word to HTML conversion but not too many for converse.
My Java desktop application includes a component for communicating with a web service.
We therefore need to include the access details for it within the application, but do not want it to be easily accessible in the event that the code is decompiled (we will be obfuscating).
What techniques can we use to secure these details?
I'm trying to handle an FileNotFoundException in Java by suspending the thread for x seconds and rereading the file. The idea behind this is to edit properties during runtime.
The problem is that the programm simply terminates. Any idea how to realize this solution?
Hi,
I need a Java library for doing web searches ( any search engine is good ).
I should be able to to write code such as:
WebSearch search = new WebSearch("Apple");
System.Out.Println("Results = " + search.Results.Count);
Does such a library/API exist ?
Regards,
Sebastian
I have a java application that has an icon in the tray of the menu bar at the top of OSX. I've been able to remove the icon from the dock when the application is "minimized to tray", but it still appears when I command-tab to switch between my running applications. I'd like to hide it from there too, but I'm not sure how to do that, so I would appreciate any advice
Thanks!
Anyone know of a good library to invoke powershell scripts from within Java? I'm currently spawning a seperate process (powershell.exe) and then parse the output, but it would really be nice if I can leverage Powershell's 'power' by getting objects back from a powershell call.
Edit:
Otherwise, anyone else doing such interop? What method do you use?
What is the event handler in Java (using net beans, Swing) that resembles the Paint in C#?
The event which shall be fired when the form is restored, resized ... etc
JavaMail requires that you specify an external SMTP server when sending mail. I want to have my java app send email directly without having to use an external SMTP server such as postfix or sendmail.
Can anyone recommend a library which provides this kind of functionality?
Ive done some googling and have come up with nothing.
The Java Virtual Machine supports several garbage collection strategies.
This article explains them.
Now I am wondering which (automatically selected) strategy my application is using, is there any way to let the JVM(version 1.6) print this information?
OK so, let's say I have a Java applet that takes a while to load (~5 secs). It's getting the mysql-connector.jar and it's loading. Well.. instead of the gray box with the coffee logo... can I make it have a simple progress bar with the percent?
Thanks.
Hello,
I'v created a java extension that handles login requests using smartfoxserver for my game.
The following is inside the internal event:
View Here: http://mfpurl.net/index.php/view/8e43b130
But its complaining invalid login request?
HI, i am currently developing an android application where i am required to implement speech recognition...could u suggest a link where i could find a java speech recognition API...?
Thanks
In Java is there an equivalent to the C# "using" statement allowing to define a scope for an object:
using (AwesomeClass hooray = new AwesomeClass)
{
// Great code
}
This has probably allready been asked but the keywords make it difficult to find a relevant question.
This is, I suppose, a very simple question for any Java programmer.
My question is as simple as this:
When the user clicks a button, I want to show a popup form that should have at least two JTextFields and two JLabels, so using JOptionPane.showInputDialog is not a possibility.
Thanks.
Hi there,
I have a Java IRC bot which i would like to query a shoutcast server and return basic information (song playing etc). Can someone guide me in the right direction? Thank you.
JAVA
Hello,
I have a TextArea with enter seperated values:
For Example:
Value1
Value2
Value3
Value4
Value5
Is there a fast way to put them in a String array
String[] newStringArray = ???
I know use System.exit(0) can end a java program, for instance, if I have a JFrame window, it will close and end the program, but I wonder how many other ways, can it be closed and the program be ended ? Including when an error occurs, will the program be shut down and the JFrame be closed ?
Friends, I am trying to convert DO to DTO using java and looking for automated tool before start writing my own. I just wanted to know if there any free tool available for the same.