This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package calendarview; | |
| import java.time.DayOfWeek; | |
| import java.time.Duration; | |
| import java.time.LocalDate; | |
| import java.time.LocalDateTime; | |
| import java.time.LocalTime; | |
| import java.time.format.DateTimeFormatter; | |
| import java.util.ArrayList; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.beans.value.ChangeListener; | |
| import javafx.beans.value.ObservableValue; | |
| import javafx.event.ActionEvent; | |
| import javafx.event.EventHandler; | |
| import javafx.geometry.Side; | |
| import javafx.scene.control.ContextMenu; | |
| import javafx.scene.control.CustomMenuItem; | |
| import javafx.scene.control.TextField; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.application.Application; | |
| import javafx.beans.property.*; | |
| import javafx.beans.value.*; | |
| import javafx.collections.*; | |
| import javafx.event.*; | |
| import javafx.scene.*; | |
| import javafx.scene.control.*; | |
| import javafx.scene.layout.*; | |
| import javafx.stage.Stage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sample; | |
| import javafx.animation.KeyFrame; | |
| import javafx.animation.Timeline; | |
| import javafx.fxml.FXML; | |
| import javafx.fxml.Initializable; | |
| import javafx.scene.control.TextField; | |
| import javafx.scene.text.Text; | |
| import javafx.util.Duration; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [client] | |
| host= | |
| user= | |
| password= | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.BufferedReader; | |
| import java.io.OutputStream; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| public class WhatsappSender { | |
| // TODO: Replace the following with your instance ID, Forever Green Client ID and Secret: | |
| private static final String INSTANCE_ID = "YOUR_INSTANCE_ID_HERE"; | |
| private static final String CLIENT_ID = "YOUR_CLIENT_ID_HERE"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.example; | |
| import org.json.simple.JSONArray; | |
| import org.json.simple.JSONObject; | |
| import org.json.simple.parser.JSONParser; | |
| import java.net.HttpURLConnection; | |
| import java.net.MalformedURLException; | |
| import java.net.URL; | |
| import java.util.Scanner; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.beans.property.SimpleBooleanProperty; | |
| import javafx.geometry.Pos; | |
| import javafx.scene.control.Button; | |
| import javafx.scene.control.Label; | |
| import javafx.scene.layout.HBox; | |
| public class ToggleSwitch extends HBox { | |
| private final Label label = new Label(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .root { | |
| -fx-accent: #1e74c6; | |
| -fx-focus-color: -fx-accent; | |
| -fx-base: #373e43; | |
| -fx-control-inner-background: derive(-fx-base, 35%); | |
| -fx-control-inner-background-alt: -fx-control-inner-background ; | |
| } | |
| .label{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package br.com.triadworks.controller.relatorios.jasper; | |
| import java.io.ByteArrayOutputStream; | |
| import java.sql.Connection; | |
| import java.util.Map; | |
| import javax.sql.DataSource; | |
| import net.sf.jasperreports.engine.JRException; | |
| import net.sf.jasperreports.engine.JRExporter; | |
| import net.sf.jasperreports.engine.JRExporterParameter; | |
| import net.sf.jasperreports.engine.JasperCompileManager; |
NewerOlder