JavaFX

Server Event Client Sample

JavaFX Advent Calendar 2015 - Qiitaの13日目です。 昨日は@skrbさんのJavaFX と Project Jigsaw - JavaFX in the Boxでした。 明日は@Yucchi_jpさんです。 前回Server Sent Event のサーバー処理についてちょっと実装を試したJava EEエヴァンジェリストに…

File Tree View with Image

Having had the message on my blog about JavaFX TreeViewSample(FYR. 2013-03-23 - tomoTakaの日記), I was so happy. So I wanted to add ImageView on this application. It is easy thanks to JavaFX ImageView control. Figure1 You can see the Image…

JavaFX connecting AWS S3 bucket simple sample

I just joined this workshop Java workshop for only women and AWS workshop for only women last week. It was very fun to take part in this kind of events.At first we introduced ourselves and mentioned own today's task. Then having fun time w…

Java女子部勉強会に行ってきました。

1/24(土) 関西Java女子部 部活 - connpassに参加してきました。 同じ週の水曜にははじめて女子応援企画!クラウド勉強会【女子限定】 - JAWS-UG KANSAI | Doorkeeperにも参加。 関西で女子会に2回も参加できてすごく楽しかったです。最初に自己紹介と今日の…

JavaFX Task sample using Java8 CompletableFuture

After reading Java8 Concurrency articleJava技術最前線 - 詳解 Java SE 8 第19回 Concurrency Utilitiesのアップデート その1:ITpro by @skrb, I wanted to try how to use JavaFX Task with CompletableFuture. This is very easy thanks to this websit…

JavaFX with google map and JSON sample

Thanks to this web siteAdding HTML Content to JavaFX Applications | JavaFX 2 Tutorials and Documentation, it it easy making upcalls from JavaScript to JavaFX. 1.Adding lines to HTML's table and creating Marker on this map, by clicking on t…

JavaFX with google map and JSON sample

1.google map上でクリックしたポイントを元に、HTMLのTableに行を追加とmap上にマーカーを表示。 2.上記1の情報をJavaScriptからJavaFXのメソッドをcallしてJson形式のファイルとして保存。 3.JavaFXで上記2のjsonファイルを読み込んで、JavaScriptのメソ…

JavaFX with Google map sample

JavaFX Advent Calendar 2014 - Adventarの21日目です。 昨日は@kikutaro_さんのOpenDolphinでEnterprise JavaFX - Challenge Java EE !でした。ちょっと、業務でGoogle mapを使っているので、JavaFXからWebViewでGoogle mapを操作してみました。 操作と言っ…

Try to build OpenJFX

Since I take this OpenJFX for Embedded Devices [CON3307] session at JavaOne2014, I wanted to try to build OpenJFX. The session was about Building the OpenJFX embedded stack for Linux desktop,but I use Mac at first. Building the OpenJFX emb…

OpenJFXのビルドを試してみる

JavaOne2014で、OpenJFX for Embedded Devices [CON3307]のセッションを受けてちょっとOpenJFXのビルドを試してみました。2014-10-02 - tomoTakaの日記 セッションでは、embedded に関するお話だったのですが、とりあえずMacで挑戦してみました。Building th…

よなよなJavaFX ~ミニ四駆動〜

昨日はよなよなJavaFX ~ミニ四駆動〜 - connpassに参加してきました。 Javaプログラマのためのミニ四駆再入門 @kiy0takaさん、すでにスライドがアップされてました。javafx-mini4wd, SlideSearchEngine.com ミニ四駆のお話、すごく楽しく聞かせていただきま…

JavaFX localization Sample

I just wanted to know how to make JavaFX Application for localization. First of all, this code shows you only how to apply resource properties to the JavaFX Label control. And Java8 has 5 type of Chronology classes that easily fit to JavaF…

Simple WebView Sample

The following code is a very simple example how to start loading the url or cancel it. You can get more details information hereAdding HTML Content to JavaFX Applications | JavaFX 2 Tutorials and Documentation OS version Java version Figur…

DragboardChecker

Thanks to JavaFX Drag & Drop function, you can drag something from a third-party(native) application such as Finder(Mac OS). You just need to implement of the DragOver and DragDropped event hander on a Target(see code1). This is exciting f…

JavaFX does not work in NetBeans7.4 using JDK7

It is easy to create JavaFX project using NetBeans7.4. After updating JavaSE7 to 1.7.0_51, JavaFX project has ClassNotFoundException error in NetBeans7.4. It has no compiler errors. So I just looked into the reason to improve my skill abou…

JavaSE7でのJavaFXの実行時エラーについて調べてみた

NetBeans7.4を使って、JavaFXプロジェクト(プラットフォームにJavaSE7)を作成。コンパイルできるのに、実行時に「java.lang.ClassNotFoundException: javafx.application.Application」エラーになるのでちょっと調べてみたことをメモ。 NetBeansでの実行時エ…

File Tree View Sample(Part3) Drag and Drop

This is the 2nd day of the JavaFX Advent calendar.JavaFX Advent Calendar 2013 - Adventar The 1st day is 曲線のアニメーション - JavaFX in the Box by Mr.@skrb The 3rd day is JavaFXでめくるエフェクト!! | るーつにゃんブログ by Mr. @rootsu102…

File Tree View Sample(Part3) Drag and Drop

2013年のJavaFX Advent Calendar 2013 - Adventarの2日目です。in English here 2013-12-05 - tomoTakaの日記 前日は@skrbさんの曲線のアニメーション - JavaFX in the Boxです。 明日は@rootsu1024xさんのJavaFXでめくるエフェクト!! | るーつにゃんブロ…

Java Embedded Challenge for Raspberry Pi(Part 2)

When I was waiting for my team's members at third day of the Raspberry Pi challenge in JavaOne2013, I just wanted to add some function in my previous little application.Java Embedded Challenge for Raspberry Pi This code shows you how to us…

Java Embedded Challenge for Raspberry Pi

This is the first time for me to be here JavaOne in SF. I jumped into the RaspberryPi challenge to do something without any skills about RaspberryPi. Thanks to the this information(Introduction to JavaFX on Raspberry Pi) I finished a small…

WebSocket Echo Client (Part2)

I amended the previous application(WebSocket Echo Client - tomoTakaの日記) After reading this article(Java技術最前線 - JavaFX 2ではじめる、GUI開発 第14回 非同期処理:ITpro) about concurrency in JavaFX, I got the advice about the above appl…

WebSocket Echo Client in WebView

I made WebSocket Echo Client on JavaFX before.(see here) This time Web Scoket on WebView in JavaFX. The code is very simple (see code 1). Using WebView and WebEngine, loading EchoClient.html(see code 2). But when executing this on JavaFX7,…

WebSocket Echo Client

After having transcribed one of my friends blog about WebSocket, I made client endpoint using Tyrus and Java API for WebSocket on JavaFX. The Friends Blog is hereJava SEでWebSocketサーバを立てて遊ぶ — 裏紙 And also refer to this Chapter 1.…

Twitter ListView Sample(JDK8,Twitter4j)

This is a very simple sample application just searching for twitter which match a word. This code shows you following functions 1. How to customize the content of a ListView (see code1-1,1-2) 2. Searching for twitter by using Task class on…

File Tree View Sample(Part 2)

I added the following functions to the previous sample application.File Tree View Sample - tomoTakaの日記 1. The context menu to expand tree item, delete directory or add new directory(Figure 1) 2. The context menu to delete file and the d…

File Tree View Sample

I just wanted to create an application like kind of file explorer to learn about the following contents. 1. How to use directory chooser 2. Tree View with Path 3. Watching for file systems by WatchService 4. Searching files by FileVisitor …

NetBeans plugin for JavaFX Version

I wanted to make NetBeans plugin showing JavaFX version(like Figure1) by using JavaFX. But when I read the article NetBeans NetBeans IDE 7.2 Plugin Quick Start I decided to use Swing with JavaFX(like Figure2) Figure 1(This window is create…

I have got the different result on Mac

I just want to share two results I have got on My Mac. I transcribed all of this article. Creating Visual Effects in JavaFX: About This Document | JavaFX 2 Tutorials and Documentation Also the article is written by @skrb using Invalidation…

JavaFX WebView with JavaScript Commands

I wanted to use JavaFX for web pages test like Selenium, but I realized I have not had enough knowledge about JavaFX. So I started to learn about WebView and WebEngine. Figure 1 WebView and 5 Buttons executing JavaScript commands engine.lo…

JavaFXでWebViewを操作

JavaFXでWeb画面のテストをしたかったのですが、まだまだ実装でよくわからないことがあるので、WebViewを使って動作することから実装してみることにしました。 起動直後の画面 この画面の上部をWebViewを使って表示しています。 engine.loadの箇所がノンブロ…