package com.gitblit.client;\r
\r
import java.awt.Component;\r
+import java.awt.Cursor;\r
import java.io.IOException;\r
import java.text.MessageFormat;\r
\r
public GitblitWorker(Component parent, RpcRequest request) {\r
this.parent = parent;\r
this.request = request;\r
+ parent.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));\r
}\r
\r
protected RpcRequest getRequestType() {\r
}\r
\r
protected void done() {\r
+ parent.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));\r
try {\r
Boolean success = get();\r
if (success) {\r
package com.gitblit.client;\r
\r
import java.awt.BorderLayout;\r
+import java.awt.Cursor;\r
import java.awt.FlowLayout;\r
import java.awt.Insets;\r
import java.awt.Rectangle;\r
if (isSearch && StringUtils.isEmpty(fragment)) {\r
return;\r
}\r
+ setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));\r
SwingWorker<List<FeedEntryModel>, Void> worker = new SwingWorker<List<FeedEntryModel>, Void>() {\r
@Override\r
protected List<FeedEntryModel> doInBackground() throws IOException {\r
\r
@Override\r
protected void done() {\r
+ setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));\r
try {\r
List<FeedEntryModel> results = get();\r
if (isSearch) {\r