Skip to content

Commit

Permalink
17.97
Browse files Browse the repository at this point in the history
-ALT+X bug fix
-El puto bug del chat en JAVA>15!!! fix
  • Loading branch information
tonikelope committed Mar 5, 2025
1 parent 495537d commit 6c6bf2b
Show file tree
Hide file tree
Showing 6 changed files with 812 additions and 802 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.tonikelope</groupId>
<artifactId>CoronaPoker</artifactId>
<version>17.96</version>
<version>17.97</version>
<packaging>jar</packaging>
<build>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tonikelope/coronapoker/AboutDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
*/
public class AboutDialog extends javax.swing.JDialog {

public static final String VERSION = "17.96";
public static final String VERSION = "17.97";
public static final String UPDATE_URL = "https://github.com/tonikelope/coronapoker/releases/latest";
public static final String TITLE = "¿De dónde ha salido esto?";
public static final int MAX_MOD_LOGO_HEIGHT = 75;
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/com/tonikelope/coronapoker/GameFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,10 @@ public void vistaCompacta() {

for (RemotePlayer jugador : players) {

jugador.refreshSecPotLabel();
jugador.refreshNotifyChatLabel();
synchronized (jugador.getChat_notify_label()) {
jugador.refreshSecPotLabel();
jugador.refreshNotifyChatLabel();
}
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/tonikelope/coronapoker/NewGameDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@
import javax.imageio.ImageIO;
import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JEditorPane;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JSpinner.DefaultEditor;
import javax.swing.SpinnerNumberModel;
import javax.swing.SwingUtilities;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.event.HyperlinkEvent;
import javax.swing.filechooser.FileFilter;
import javax.swing.filechooser.FileNameExtensionFilter;
import javax.swing.text.AbstractDocument;
Expand Down Expand Up @@ -1210,6 +1212,8 @@ private void vamosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:e

WaitingRoomFrame espera = new WaitingRoomFrame(partida_local, elnick, server_ip_textfield.getText().trim() + ":" + server_port_textfield.getText().trim(), avatar, pass_text.getPassword().length == 0 ? null : new String(pass_text.getPassword()), upnp_checkbox.isSelected());

WaitingRoomFrame.setInstance(espera);

espera.setLocationRelativeTo(this);

setVisible(false);
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/com/tonikelope/coronapoker/RemotePlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ public void refreshNotifyChatLabel() {
Helpers.GUIRun(() -> {
if (getChat_notify_label().isVisible()) {
Helpers.threadRun(() -> {
if (chat_notify_image_url != null) {
setNotifyImageChatLabel(chat_notify_image_url);
} else {
if (chat_notify_image_url == null) {
setNotifyTTSChatLabel();
}
});
Expand Down
Loading

0 comments on commit 6c6bf2b

Please sign in to comment.