javafx – automatically download articles and convert doc to docx

package sample.main.anli; import com.jacob.com.ComThread; import com.jacob.com.Variant; import com.spire.doc.DocumentObject; import com.spire.doc.FileFormat; import javafx.application.Application; import javafx.application.Platform; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fxml.FXML; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.TextField; import javafx.scene.input.MouseEvent; import javafx.scene.layout.Background; import javafx.scene.layout.GridPane; import javafx.scene.text.Text; import javafx.scene.web.WebView; import javafx.stage.Stage; import org.apache.poi.poifs.filesystem.DirectoryEntry; import org.apache.poi.poifs.filesystem.DocumentEntry; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.jsoup.Jsoup; import org.w3c.dom.Document; import java.io.*; import […]

JavaFx table creation and data import

Using JavaFx to implement dynamic table output of three page replacement algorithms package pageRA; import java.util.ArrayList; import java.util.List; import javafx.application.Application; import javafx.beans.property.ReadOnlyObjectWrapper; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class GUI extends Application { Button bt = […]

JavaFX uses scene builder to initialize TableView

It has just been implemented. When you click to switch to this page, the data queried in the MySQL database will be displayed MySQL database needs to create an initialization data table Connect layer, create entity class A Student object, used as a generic for subsequent traversal of the collection package pojo; import javafx.beans.property.SimpleIntegerProperty; import […]

JavaFX: form shows state, modal non-modal

Program window display generally has three modes. Non-modal and modal, where modal is divided into program modal and form modal. Non-modal can be understood as there are no restrictions between forms, and you can use the mouse, keyboard and other tools to switch between forms. Program modality means that after the form is opened, all […]

JavaFX ListView

The JavaFX ListView control enables users to choose one or more options from a predefined list of choices. The JavaFX ListView control is represented by the class javafx.scene.control.ListView . This JavaFX ListView tutorial will explain how to use the ListView class. Creating a ListView You create a ListView simply by creating a new instance of […]

javaFX: Implementation of conference multimedia switching system (3)

Key class (MeetingShow): /* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license */ package ren.kun.meetingshow; /** * * @author 65340 */ import java.awt.Dimension; import java.awt.Toolkit; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.logging.Level; import java.util.logging.Logger; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyCodeCombination; import javafx.scene.input.KeyCombination; import javafx.scene.layout.StackPane; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import […]