Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
***** Web Component
****** xref:webcomponent-pm.adoc[Using a package manager]
***** xref:jquery-pm.adoc[jQuery]
***** xref:swing.adoc[Java Swing]
**** Backend Integrations
***** Laravel
****** xref:laravel-composer-install.adoc[Using the Composer package]
Expand All @@ -52,6 +51,7 @@
***** xref:php-projects.adoc[PHP projects]
***** xref:dotnet-projects.adoc[.NET projects]
***** xref:wordpress.adoc[WordPress]
***** xref:swing.adoc[Java Swing]
*** xref:installation-zip.adoc[ZIP]
**** xref:zip-install.adoc[Quick start guide]
**** Supported Integrations
Expand All @@ -69,13 +69,13 @@
****** xref:svelte-zip.adoc[Using a .zip package]
***** Web Component
****** xref:webcomponent-zip.adoc[Using a .zip package]
***** xref:swing.adoc[Java Swing]
**** Backend Integrations
***** xref:django-zip.adoc[Django]
***** xref:laravel-zip-install.adoc[Laravel]
***** xref:rails-zip.adoc[Ruby on Rails]
**** Other Integrations
***** xref:bootstrap-zip.adoc[Bootstrap]
***** xref:swing.adoc[Java Swing]
** xref:upgrading.adoc[Upgrading {productname}]
* xref:how-to-guides.adoc[How-to guides]
** Learn the basics
Expand Down
18 changes: 9 additions & 9 deletions modules/ROOT/pages/installation-self-hosted.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ link:https://www.tiny.cloud/docs/tinymce/latest/jquery-pm/[jQuery]

Integrate {productname} with the jQuery JavaScript library using a package manager.

|
[.lead]
link:https://www.tiny.cloud/docs/tinymce/latest/swing/[Java Swing]

Integrate {productname} into your Java Swing application using a package manager.

// Empty cell to even out rows
|

|===

=== Backend Integrations
Expand Down Expand Up @@ -148,6 +139,15 @@ link:https://www.tiny.cloud/docs/tinymce/latest/wordpress/[WordPress]

Integrate {productname} into your WordPress site.

|
[.lead]
link:https://www.tiny.cloud/docs/tinymce/latest/swing/[Java Swing]

Reference documentation for existing users of the end-of-life Java Swing integration.

// Empty cell to even out rows
|

|===

== Package managers
Expand Down
15 changes: 5 additions & 10 deletions modules/ROOT/pages/installation-zip.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ link:https://www.tiny.cloud/docs/tinymce/latest/webcomponent-zip/[Web Component]

Integrate {productname} as a web component using a .zip package.

|
[.lead]
link:https://www.tiny.cloud/docs/tinymce/latest/swing/[Java Swing]

Integrate {productname} into your Java Swing application using a .zip package.

// Empty cell to even out rows
|

|===

=== Backend Integrations
Expand Down Expand Up @@ -121,6 +112,10 @@ link:https://www.tiny.cloud/docs/tinymce/latest/bootstrap-zip/[Bootstrap]

Integrate {productname} with the Bootstrap CSS framework using a .zip package.

// Empty cell to even out rows
|
[.lead]
link:https://www.tiny.cloud/docs/tinymce/latest/swing/[Java Swing]

Reference documentation for existing users of the end-of-life Java Swing integration.

|===
6 changes: 3 additions & 3 deletions modules/ROOT/pages/migration-from-7x.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -764,15 +764,15 @@ Several empty files have been removed from the codebase to reduce clutter and im
==== Java Swing Integration Deprecation
// #DOC-3304

{productname}'s Java Swing integration has been deprecated in {productname} 8.0 and will reach end-of-life as of December 31, 2025.
{productname}'s Java Swing integration was deprecated in {productname} 8.0 and reached end-of-life on December 31, 2025.

**Impact**: Customers using the Java Swing integration need to plan for migration to alternative solutions before the end-of-life date.
**Impact**: Customers using the Java Swing integration need to migrate to an alternative solution.

**Migration checklist:**


* [ ] Evaluate alternative integration options
* [ ] Plan migration timeline to complete before December 31, 2025
* [ ] Plan the migration away from the Java Swing integration

For information about the Java Swing integration, see: xref:swing.adoc[TinyMCE for Java Swing integration]

Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/swing.adoc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
= TinyMCE for Java Swing integration
:navtitle: Java Swing
:description: Seamlessly integrates TinyMCE into Java Swing applications.
:description: Reference documentation for existing users of the end-of-life TinyMCE for Java Swing integration.
:keywords: integration, integrate, java, swing

[IMPORTANT]
====
{productname}'s Java Swing integration has been deprecated in {productname} 8.0 and will reach end-of-life as of December 31, 2025.
{productname}'s Java Swing integration was deprecated in {productname} 8.0 and reached end-of-life on December 31, 2025. The integration is no longer available for purchase. This page is a reference for existing users of the integration.
====

include::partial$integrations/swing-quick-start.adoc[]
36 changes: 12 additions & 24 deletions modules/ROOT/partials/integrations/swing-quick-start.adoc
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
Users can easily configure the {productname} editor in Swing through the *{productname} for Swing* integration.

== Getting the {productname} for Swing integration

To start using {productname} for Swing as your new rich text editor, the first step is to obtain a copy of the *Integration*.

link:{contactpage}[{contactsales}] to discuss how to get started with our latest release.

== Get started with our {productname} in Swing integration

To include our {productname} in Swing integration in your Java project just follow the steps below:
The *{productname} for Swing* integration configures the {productname} editor in a Java Swing application. To add the integration to a Java project, complete the following steps.

[[copy-tinymce-in-swing-libraries]]
=== 1. Copy {productname} in Swing libraries
== Copy the {productname} for Swing libraries

From the release `+zip+` file, select all the Java libraries under the `+lib+` folder and import them into your project. This libraries contain everything needed to run our integration.
From the release `+zip+` file, select all the Java libraries under the `+lib+` folder and import them into the Java project. These libraries contain everything required to run the integration.

[[select-a-deployment-and-create-a-configuration]]
=== 2. Select a deployment and create a configuration
== Select a deployment and create a configuration

The Swing integration allows the user to select the origin of the {productname} code: *embedded* (recommended), *cloud*, or *external*.
The Swing integration supports three origins for the {productname} code: *embedded* (recommended), *cloud*, or *external*.

* Embedded deployments use the version of {productname} prepackaged with the current release of the integration. This is guaranteed to be compatible with the integration specific plugins.
+
Expand All @@ -32,7 +22,7 @@ final Config myTinyConfiguration = Config.embedded();
----
final Config myTinyConfiguration = Config.cloud("<no_api_key>", "{productmajorversion}-stable");
----
* External deployments allow to use a local version of {productname} by giving the address of the location where {productname} is being served.
* External deployments use a local version of {productname} served from a specified address.
+
[source,java]
----
Expand Down Expand Up @@ -60,7 +50,7 @@ final Config myConfig = Config.embedded()
.putProperty("images_reuse_filename", true);
----

Or by passing Javascript that returns a {productname} configuration object.
Or by passing JavaScript that returns a {productname} configuration object.

*config.js*:

Expand Down Expand Up @@ -97,7 +87,7 @@ final Config myConfig = Config.embedded()
----

[[create-the-editor-and-add-it-to-your-view]]
=== 3. Create the editor and add it to your view
== Create the editor and add it to the view

Create the editor by passing a configuration object. The editor initialization is asynchronous so starting a new editor will return a future value that can be accessed as a normal future value.

Expand All @@ -110,14 +100,12 @@ final JPanel holder = new JPanel(new BorderLayout());
holder.add(editor.component(), BorderLayout.CENTER);
----

Once the editor has been extracted from the future value you can use its component (JComponent) to position it in your view.

For more examples check the https://github.com/tinymce/tinymce-swing-codesamples[GitHub repository].
After the editor is extracted from the future value, use its component (`+JComponent+`) to position it in the view.

== Explore other resources
== Other resources

* https://github.com/tinymce/tinymce-swing-codesamples[GitHub repository] - Refer to this link for examples on how to use {productname} for Swing.
* An additional set of documentation is shipped with the integration in a `+zip+` file containing a library of `+Javadocs+` and API reference guides which help in understanding and applying the concepts. The `+zip+` file includes the following documents:
* https://github.com/tinymce/tinymce-swing-codesamples[{productname} for Swing code samples repository] - Refer to this link for examples on how to use {productname} for Swing.
* The integration release `+zip+` file includes additional documentation, including `+Javadocs+` and API reference guides. The `+zip+` file includes the following documents:
** `+readme.txt+` - This file has general information about {productname} for Swing integration.
** `+license.txt+` - This file has all the license details about {productname} for Swing as a commercial software.
** `+release-notes.txt+` - This file has information about the integrations and enhancements that have been implemented in {productname} for Swing integration.
Expand Down
Loading