スキップしてメイン コンテンツに移動

投稿

ラベル(Java FX)が付いた投稿を表示しています

Java: Capture Web Page

Recently I was investigating how to capture web page as image. I recently realized that there is a nicer nice component for navigating web page in Java FX. javafx.scene.web.WebView javafx.embed.swing.JFXPanel I referred this stackoverflow post and wrote a Java class for capturing web page and save it as image. Please note that you should include jfxrt.jar, which was in JDK1.7.0_XX/jre/lib, should be added to your classpath. Code Here is an actual code. Please feel free to use it... I am very happy if you give me some feedback for this code. package com.dukesoftware.javafx; import static com.dukesoftware.utils.io.IOUtils.getExtension; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.Map; import java.util.Set; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingQueue; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue;...

Java実装のWeb Browser

Lobo: Java Web Browser Cobra CSSBox : Pure JavaのHtml, CSS2.1レンダーを行えるライブラリ Pure Javaでないものですと、SWTやJava FXで使用可能なWeb Browserのコンポーネントがあります。 org.eclipse.swt.browser.Browser javafx.scene.web.WebView