Replies: 7 comments 5 replies
-
|
The snippet is sadly doesn't compile because I e.g. don't know what the LaunchTabPanel looks like. Can you perhaps provide a small self-contained snippet where the problem appears? Can you perhaps also provide a thread dump when the Eclipse freezes? Otherwise it will be very difficult to reason about what exactly goes on, if this happens to be a Mac-specific problem. |
Beta Was this translation helpful? Give feedback.
-
|
Apologies - see attached. |
Beta Was this translation helpful? Give feedback.
-
|
I have recorded my screen, initially I try to open the demo.java file which I attached previously and on Macos at least this just crashes eclipse completely - you cannot interact with it at all. The app does run and in demo I do see the tabbed pane. For clarity I also show the more complete version afterwards. |
Beta Was this translation helpful? Give feedback.
-
|
Now that I have identified the problem code, my workaround is fine, so don't worry about it. Did you see the dialog when entering design mode, I would normally have expected only to see that when running the application. Is this a site effect of the lambda expression in the event handler ? |
Beta Was this translation helpful? Give feedback.
-
|
I did not see the dialog - to be honest it wasn’t until I thanks Dave |
Beta Was this translation helpful? Give feedback.
-
|
This is linked indirectly to the crashing of eclipse today, and possibly unique to eclipse on the mac, so I'm not sure if you can help. Frequently after I have had to terminate Eclipse forcefully rather than a clean shutdown I get odd things happening. For example if I create a new project or just copy/paste an existing one the new project does not show up in the project explorer. Today this happened, however in addition to that I found that WindowBuilder would not render some screens which had not changed in some time and I knew were fine in the past. Eventually I had to create a new eclipse install with plugins, restore a backup of my workspace and merge the latest code changes. A rather cumbersome workaround to what could possibly be an easy fix. I suspect something got corrupted in the .metadata workspace folder, but what ? Is there an easy fix for this ? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I suspect it's something Mac specific. I have everything working again now. Just need to remember when testing again to use a separate Eclipse and Workspace. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I have encountered a problem and found the solution.
First of all I must confess to using ChatGPT to create the code - I know - the shame the shame of it.
Anyway - moving on.
I jave a JFrame and it has a button added to it (see code fragment below).
The code which I have commented out was created by AI and I've had to comment it out and replace with my version.
If I open the JFrame in design view with the original code then Eclipse just freezes and I have to force the task to close.
I am running Eclipse 2025-09 on Macos 15.7.
// addTabButton.addActionListener(e -> {
// String name = JOptionPane.showInputDialog(this, "Enter tab name:");
// if (name != null && !name.isBlank())
// {
// LaunchTabPanel panel = new LaunchTabPanel();
// tabs.addTab(name, panel);
// tabs.setSelectedComponent(panel);
// }
// });
Beta Was this translation helpful? Give feedback.
All reactions