File tree Expand file tree Collapse file tree 2 files changed +1
-34
lines changed
PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azuretools/ijidea/ui Expand file tree Collapse file tree 2 files changed +1
-34
lines changed Original file line number Diff line number Diff line change 3434 <text value =" Automated" />
3535 </properties >
3636 </component >
37- <grid id =" 9ade3" layout-manager =" GridLayoutManager" row-count =" 5 " column-count =" 2" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
37+ <grid id =" 9ade3" layout-manager =" GridLayoutManager" row-count =" 4 " column-count =" 2" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
3838 <margin top =" 0" left =" 0" bottom =" 0" right =" 0" />
3939 <constraints >
4040 <grid row =" 3" column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 3" hsize-policy =" 3" anchor =" 0" fill =" 3" indent =" 3" use-parent-layout =" false" />
9393 <text value =" New..." />
9494 </properties >
9595 </component >
96- <component id =" af2c9" class =" javax.swing.JEditorPane" binding =" manualSpNoteEditorPane" >
97- <constraints >
98- <grid row =" 4" column =" 0" row-span =" 1" col-span =" 2" vsize-policy =" 6" hsize-policy =" 6" anchor =" 0" fill =" 3" indent =" 0" use-parent-layout =" false" >
99- <preferred-size width =" 150" height =" 50" />
100- </grid >
101- </constraints >
102- <properties >
103- <contentType value =" text/html" />
104- <editable value =" false" />
105- <opaque value =" false" />
106- <text value =" < html> < head> < /head> < body> Follow these manual < a href=" https://go.microsoft.com/fwlink/?linkid=847862"> steps< /a> if Azure Toolkit fails to create an authentication file programmatically. < /body> < /html> " />
107- </properties >
108- </component >
10996 </children >
11097 </grid >
11198 <grid id =" 3be92" layout-manager =" GridLayoutManager" row-count =" 1" column-count =" 1" same-size-horizontally =" false" same-size-vertically =" false" hgap =" -1" vgap =" -1" >
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ public class SignInWindow extends AzureDialogWrapper {
7272 private JTextField authFileTextField ;
7373 private JButton browseButton ;
7474 private JButton createNewAuthenticationFileButton ;
75- private JEditorPane manualSpNoteEditorPane ;
7675
7776 private AuthMethodDetails authMethodDetails ;
7877 private AuthMethodDetails authMethodDetailsResult ;
@@ -143,25 +142,6 @@ public void actionPerformed(ActionEvent e) {
143142 interactiveCommentTextPane .setFont (labelFont );
144143 automatedCommentTextPane .setFont (labelFont );
145144
146- //manualSpNoteEditorPane.setFont(labelFont);
147- Font font = UIManager .getFont ("Label.font" );
148- String bodyRule = "body { font-family: " + font .getFamily () + "; " +
149- "font-size: " + font .getSize () + "pt; }" ;
150- ((HTMLDocument ) manualSpNoteEditorPane .getDocument ()).getStyleSheet ().addRule (bodyRule );
151-
152-
153- manualSpNoteEditorPane .addHyperlinkListener (new HyperlinkListener () {
154- @ Override
155- public void hyperlinkUpdate (HyperlinkEvent e ) {
156- if (e .getEventType () == HyperlinkEvent .EventType .ACTIVATED ) {
157- JXHyperlink link = new JXHyperlink ();
158- link .setURI (URI .create (e .getURL ().toString ()));
159- link .doClick ();
160- }
161- }
162- });
163-
164-
165145 interactiveRadioButton .setSelected (true );
166146 onInteractiveRadioButton ();
167147
You can’t perform that action at this time.
0 commit comments