*
* The MIT License (MIT)
*
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
import java.awt.Font;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
+import java.util.ResourceBundle;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
*/
public class Demo5 implements WindowListener {
+ /**
+ * Translated strings.
+ */
+ private static final ResourceBundle i18n = ResourceBundle.getBundle(Demo5.class.getName());
+
// ------------------------------------------------------------------------
// Variables --------------------------------------------------------------
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
// Demo5 ------------------------------------------------------------------
// ------------------------------------------------------------------------
-
+
/**
* Run two demo applications in separate panes.
*/
mainPane.setBorder(null);
frame.setContentPane(mainPane);
- frame.setTitle("Two Jexer Apps In One Swing UI");
+ frame.setTitle(i18n.getString("frameTitle"));
frame.setSize(1000, 640);
frame.setVisible(true);
}