Skip to content

Instantly share code, notes, and snippets.

View mmdemirbas's full-sized avatar

Muhammed Demirbaş mmdemirbas

View GitHub Profile
@mmdemirbas
mmdemirbas / MultiDatePicker.java
Last active May 31, 2022 22:27
JavaFX Multiple Dates Picker
package com.mmdemirbas.lab;
/**
* Created by md on 5.04.2016.
*/
import javafx.application.Application;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
@mmdemirbas
mmdemirbas / CombineIntoPDF.java
Last active August 17, 2023 10:38
Combine multiple images into a single PDF file using Apache PDFBox 2.0.1
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.PDPageContentStream;
import org.apache.pdfbox.pdmodel.common.PDRectangle;
import org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;