Commit 2c0a3de3 authored by Jeffrey I. Schiller's avatar Jeffrey I. Schiller

Update Wireless Connection Dialog

Update Wireless Connection Dialog to properly give the name of the MIT
AI Companion App so people know where to look on their phone for it.

Change-Id: Ie71e72d4e793291306f03e3e8aa2b3f5360052c1
parent b7ad4bce
......@@ -282,7 +282,7 @@ public class FeedbackReporter extends JOptionPane {
* @return JDialog The actual displayed dialog
*/
public static JDialog showWirelessCodeDialog(String code, ImageIcon qrcode, final Runnable cancelAction) {
String msgText = "Instructions:<br />\n<ul>\n<li>Start the App Inventor Companion App on your phone or tablet.</li>\n<li>Use the the Companion App to scan the QR code at the left;<br />\n<center>or</center>\nEnter the code below into the Companion App and press \"Connect to App Inventor.\"</li></ul>\n<font size=+1>Your Code:</font><br />\n<font size=+5>" + code + "</font>\n";
String msgText = "Instructions:<br />\n<ul>\n<li>Start the \"MIT AI Companion\" App on your phone or tablet.</li>\n<li>Use the the Companion App to scan the QR code at the left;<br />\n<center>or</center>\nEnter the code below into the Companion App and press \"Connect to App Inventor.\"</li></ul>\n<font size=+1>Your Code:</font><br />\n<font size=+5>" + code + "</font>\n";
HTMLPane htmlMsg = new HTMLPane(msgText);
final JDialog dialog = new JDialog(frame, "Waiting for the Companion App");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment