question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Idiot-proof the error messages in swing gui

See original GitHub issue

It has come to my attention on discord from shedaniel and the Origins discord server that apparently people do not typically want to read and try to understand the error messages that show up on the swing gui for mod dependency issues.

Typically most people seeing this GUI are users, hence they do not need the developer cruft.

Essentially the solution here is to cut out all the developer cruft from the error messages (probably just dropping them into a dropdown box) and simplify the messages into:

You need to install X, You need to upgrade X to version 2.0.0, X breaks Y, you need to remove one of these.

If we want dev text, it may be better then to either display the full fat thing in a dev environment or make people pass some sort of -DBigBrain to see the verbose developer text.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:20
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
timelady-victoriouscommented, Mar 13, 2021

Maybe also allow mods to add a URL to a dependancy mod? Like make [modid,URL] be an optional replacement for modid in fabric.mod.json. This could be used for direct links to the mod pages.

1reaction
timelady-victoriouscommented, Mar 6, 2021

I like this suggestion, there are way to many people saying “Whats wrong?” when it says “requires A mod Z.C”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java GUI using one Jtextfield for both text and number inputs
What we're suggesting is that you get the error message out of the catch block and instead do something more useful there.
Read more >
Java GUI using one Jtextfield for both text and number inputs ...
Coding example for the question Java GUI using one Jtextfield for both text and ... What we're suggesting is that you get the...
Read more >
Untitled
El agba monastir, Oxford bus company key discount code, Snow kiting tips, ... Yaskawa sigma 2 error codes, Witonia mapa polski, Rahiman dohe...
Read more >
Applet Socket Quote - Swing JFC « Java - Java2s.com
Applet Socket Quote : Applet « Swing JFC « Java. ... Make it idiot proof and someone will make a better idiot. ......
Read more >
swing - Java GUI using one Jtextfield for both text and number inputs ...
I'm new to building GUI apps so all suggestions for improving the code are welcome. ... showMessageDialog(this, "Error: " + exc, "Error", JOptionPane....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found