Skip to content
A library for creating chat bubbles in JavaFX
Branch: master
Clone or download
Latest commit 444d048 Mar 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bluebub
bubble_example
LICENSE
README.md

README.md

bluebub library

A library for creating chat bubbles in JavaFX

Requirements

  • JavaFX 11 or higher
  • Oracle JDK SE 8 or higher (in version 11 Oracle removed JavaFX from the JDK so get it manually)

What can I do with it?

Create nice chatbubbles is all colors and styles. example picture

How to use

Import the bluebub library to your JavaFX project. The bubble object is from the type Group so it can be added as a node.

 Bubble bubble = new Bubble(int x, int y, String text, String meta);

A bubble is creted as an object with the following parameters.

x and y are the coordinates where the bubble is supposed to go on the screen.

text is the actual text in the bubble.

meta is the gray small text in the lower left corner which can be used to display either a time, a name or checks ...

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.