Java Icon set: Hour glass??
Hi y'all!!
I know of the free graphics repository that provides a set of basic icons
http://java.sun.com/developer/techDocs/hi/repository/
but this set doesn't contain what I need for my app:
I would like an hour glass, like the one displayed when you change the mouse cursor to a waiting cursor, but this should be in the Metal Java look and feel.
If anyone out there knows of anyother graphics repositories which may have an hourglass.. or if you know how else I can obtain one.. please, please could you tell me! You'd be saving me a lot of unnecessary time in painfully drawing one in an icon editor.
Thanks in advance you guys - later Edd
Hmmm, google images "hourglass cursor" and may be:
http://www.uni-heidelberg.de/images/index_AIcons_appl_cursor.html
Similar Messages
-
Converting mouse icon to hour glass
Hello all,
I was just wondering if there's a way to convert the mouse icon from an arrow to an hour glass. The context in which I want to do this is when I have a GUI and I press a button and that button causes a lengthy delay, because of heavy computations, before displaying the next GUI. During this delay, I want to convert the mouse icon to an hour glass just so the user knows to be patient.
GibranCursor wait = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
component.setCursor(cursor);
component.setCursor(Cursor.getDefaultCursor()); -
Firefox will no longer run on my computer. It's been working fine up until a few days ago. Installed the updates and now nothing. Uninstalled, reinstalled (numerous times). Click the icon and nothing. Hour glass comes up for a second and then it is gone. Running XP ver 5.1 (service pack 3) edit. I'm no techie so I have no clue what is causing this or what to do. I love firefox and miss it greatly. Anyone know what I can do to get it back?
Can you install a new profile? See [[Managing Profiles]] for me details and let us know if you need additional assistance.
-
Explorer hang & right click hour glass
Windows SErver 2012 R2 terminal server. All clients having the same issue. When right clicking an icon on the desktop to bring up menu (cut, copy, paste, etc.) or right clicking from Explorer the system goes to an hour glass. I have downloaded and ran
the Microsoft scanning tool and nothing was found on the server.CrispyCritter,
Start Windows in Safe Mode and see if the problem persists.
Problems when right-clicking an element in Windows Explorer are often caused by faulty context menu handlers.
You can get ShellExView to see which shell extensions are installed and disable them one by one to find the culrpit:
http://www.nirsoft.net/utils/shexview.html
Also try running a Anti-Virus scan on the system and see if you can find something.
Hope this helps.
- Anantesh -
Making JButton not respond when hour glass cursor
Hi,
I know how to change the cursor to the hour glass one but what I want is that JButtons will not responds to clicks from an hour glass cursor. The JButtons should only respond to clicks from the normal cursor.
Does anyone know how to do this?
Thanks,
JimBelow is a solution for JDK 1.4 without threading.
In the event handler of ActionLock the following happens:
1. disable the button.
2. repaint the button using paintImmediately().
3. perform the search.
4. post an "enable button" event on the event dispatching queue using invokeLater().
5. handle possible clicks during the search. They are ignored since the button is disabled.
6. the "enable button" event is handled on the event dispatching thread.
Three comments:
i) if step 2 is not done the paint event triggered by disabling the button will not be handled until just before step 6. Visually the button will thus not appear disable.
ii) if step 4 is not done through invokeLater step 6 is done before step 5, thus the clicks will start new searches.
iii) focus issues are solved by making the button not focusable.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class ButtonTest
public static void main(String[] args)
JFrame frame = new JFrame("Button test");
frame.getContentPane().add(new MButton(new SearchAction()));
frame.pack();
frame.show();
class SearchAction extends AbstractAction
public SearchAction()
super("Search");
public void actionPerformed(ActionEvent e)
try
Thread.currentThread().sleep(3000); // Simulate time-consuming search
catch (InterruptedException ex)
class ActionLock implements ActionListener
private ActionListener m_OriginalListener;
private JButton m_button;
public ActionLock(ActionListener listener, JButton button)
m_OriginalListener = listener;
m_button = button;
public void actionPerformed(final ActionEvent e)
m_button.setEnabled(false);
m_button.paintImmediately(
0, 0, m_button.getWidth(), m_button.getHeight());
m_OriginalListener.actionPerformed(e);
SwingUtilities.invokeLater(new Runnable()
public void run()
m_button.setEnabled(true);
class MButton extends JButton
public MButton(Action action)
super(action);
setFocusable(false);
public void addActionListener(ActionListener listener)
super.addActionListener(new ActionLock(listener, this)); -
Non responsive firefox & stops in mid sentance in messanger or e-mail. Hour glass shows!
Foxfire VERY SLOW RESPONSE, TO OPEN FIREFOX. ALSO IT WILL SAY fIREFOX NON-RESPONSIVE & A HOUR GLASS SIGN SHOWS UP. i WILL BE WRITING IN CHAT OR AN E-MAIL 7 IT STOPS TYPING, AN HOUR GLASS SHOWS UP & IT WILL SAY NON-RESPONSIVE. i'M AM GETTING UPSET WITH ALL THESE PROBLEMS. wHAT CAN BE DONE??
-> Tap ALT key or press F10 to show the Menu Bar
-> go to Help Menu -> select "Restart with Add-ons Disabled"
Firefox will close then it will open up with just basic Firefox. Now do this:
-> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
-> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
-> go Tools Menu -> Clear Recent History -> '''Time range to clear: select EVERYTHING''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies, Cache''' -> click "Clear Now"
-> go to Tools Menu -> Options -> General -> place Checkmark on "Show the Downloads window when downloading a file" -> select Radio Button option2 "Always ask me where to save files"
-> go to Tools Menu -> Options -> Content -> place Checkmarks on:
1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
-> go to Tools Menu -> Options -> Security -> place Checkmarks on:
1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
-> Click OK on Options window
-> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
-> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
You can enable your Known & Trustworthy Add-ons later. Check and tell if its working. -
Off-line Media Files - Hour Glass - No thumbnail - JRL
I have Photoshop v5 and used get files from folders to bring in pictures from a DVD. For each of the directories I see a few thumbnails but most of the pictures show an Hour-Glass Icon. If I click on it the thumbnail appears but I cannot get all the thumbnails to show up. In the past I have been able to load pictures from a CD/DVD as proxy images and see them all. Can anyone please help.
http://www.adobeforums.com/cgi-bin/webx/.3bb6e79a
is a techdoc originally written for PSE3 but it does apply to v5 also - however the numbers might be different.
This is probably what you are experiencing. -
My ipod touch 4th generation is stuck aand hour glass just keeps spinning.My wife tried to reset it to the original factory setting s last night with out it being hooked up to the computer and it has been stuck ever since.What can I do to shut it down.The button is not responding.
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
my 8330 has developed the condition of continually displaying the hour glass icon.
a side effect is it csuses the battery to drain quickly.
it is a recent condition, starting this afternoon
Solved!
Go to Solution.I'm not sure about the PocketMac for Blackberry software, but I think you are correct that it doesn't include the application loader.
You don't have access to any PC? Because it doesn't matter which pc you use to reload the OS. Just make sure the desktop software is installed and you have downloaded the OS system you for your 8330. -
How do I stop my cursor from flashing the hour glass every 10 seconds?
My pointer ( cursor) flashes the hour glass symbol every 10 seconds ever since I downloaded an upgrade to Firefox
== This happened ==
Every time Firefox opened
== I downloaded a Firefox upgrade.You have '''caret browsing''' enabled - that preference appears as set in your Troubleshooting Information.
http://kb.mozillazine.org/Accessibility.browsewithcaret
Hit the '''F7''' key to disable '''''caret browsing'''''. -
i am just finishing java in 24 hours. but i am having trouble downloading files from the website www.java24hours.com. i also need to know how to put it into the same file as my java programs. how do i do it?
Usually, that's the first chapter in the book.
It's possible you're having trouble downloading the files because the website wasn't working when you tried it. Try again when you next have a chance.
As for actually setting up Java and making the files work - it really should be in the book. Don't get me wrong, but if the book doesn't tell you how to use the example files, then you really shouldn't trust the book to teach you how to program.
I would strongly recommend O'Reilly's "Learning Java" instead. Notice there's no "24 hours" in the title. "Learning Java" is much more thorough and will teach you far more than you can learn in 24 hours. -
I am able to change the cursor to the Hourglass prior to a long running process like so :
setCursor(Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR));
Toolkit.getDefaultToolkit().sync();
Problem is that the cursor reverts to it's default state when the cursor is moved off the Applet or I switch to another application. This gives the impression that the background task has finished, when it hasn't.
Please can anyone tell me how to prevent this.
Hopefully simply as I'm only just a starting out Java programmer !
Thanks
RajeshAre you actually sure that the cursor must be an hour-glass when it is not over your application?
In my opinion, the cursor should express the state of the application that you are using and not the state of the system and all of its applications as a whole.
That said, I am not sure that a Java application can take control over cursors in other applications (e.g. Microsoft Word, if you are running Windows).
Søren Bak -
Change the mouse pointer to an Hour glass
hello,
Could any one of you let me know how to make mouse pointer to an hour glass in swing application.
Thanking you in advance..
RamCheck out how I do this in my Draggable classs
you are welcome to use and modify this class, but please don't change the package or take credit for it as your own work
package tjacobs.ui;
import java.awt.Component;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Window;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
* tjacobs.ui.Draggable<p>
* Makes a component draggable. Does not work if there's a layout manager
* messing with things<p>
* <code>
* usage:
* Component c = ...
* new Draggable(c);
* parent.add(c);
* </code>
public class Draggable extends MouseAdapter implements MouseMotionListener {
Point mLastPoint;
Component mDraggable;
public Draggable(Component w) {
w.addMouseMotionListener(this);
w.addMouseListener(this);
mDraggable = w;
public Draggable(Window w, Component drag) {
drag.addMouseMotionListener(this);
drag.addMouseListener(this);
mDraggable = w;
public void mousePressed(MouseEvent me) {
if (mDraggable.getCursor().equals(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR))) {
mLastPoint = me.getPoint();
else {
mLastPoint = null;
private void setCursorType(Point p) {
Point loc = mDraggable.getLocation();
Dimension size = mDraggable.getSize();
if ((p.y + WindowUtilities.RESIZE_MARGIN_SIZE < loc.y + size.height) && (p.x + WindowUtilities.RESIZE_MARGIN_SIZE < p.x + size.width)) {
mDraggable.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
public void mouseReleased(MouseEvent me) {
mLastPoint = null;
public void mouseMoved(MouseEvent me) {
setCursorType(me.getPoint());
public void mouseDragged(MouseEvent me) {
int x, y;
if (mLastPoint != null) {
x = mDraggable.getX() + (me.getX() - (int)mLastPoint.getX());
y = mDraggable.getY() + (me.getY() - (int)mLastPoint.getY());
mDraggable.setLocation(x, y);
} -
System preferences default icons set not showing when modifying user account icon
Hi!
I was willing to change my account icon and went into system preferences, accounts and groups, open my account and clicked on the icon in order to change it.
To my surprise there was no default icons showing.
All the icons are in their place in System/Lybrary/User Pictures/ but it seems there is not any info connecting them to the default icon set when modifying the accounts icon. The problem is on all the accounts.
I updated the system to 10.8.2 and the problem is still there.
I already did the permission verification and the only one which is alwasy appearing (even after repair) is someone related to "ruby".
I can give more details if needed.
Thank you everybody for your help.Thanks Bernard,
It works fine with JInitiator but not working with
the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
Thx and Regards
dkklau -
RoboHelp acting weird--flickering hour glass
Here's a great Monday a.m. problem for you: I've imported a
project from RH4Word into RH HTML. I'm now importing individual
topics into a project I created in RH HTML. I opened both projects
today, and the cursor appears as a pointer but, as soon as I move
it, it becomes a flickering hour glass. Even stranger things happen
when I try to scroll down the list of topics in the Project Manager
pane...As soon as I release the left mouse button after scrolling,
the cursor turns into an hour glass again, both vertical and
horizontal scroll bars "flicker" (change in size, small to large to
small, back and forth), and the project list goes back to the top.
I cannot select a topic unless it's one of the first ten or so on
the list (anything I can see without scrolling)!
The scrolling problem only occurs with projects. I can scroll
through the list of folders (Images, Multimedia, Style Sheets,
etc.) just fine. These projects are large; one is about 300 topics
now and the other is 1000. Is RH HTML having a problem with the
project sizes? What size should the topics be? Any other ideas
about what might be causing this?
LaconaI have been having this problem for the last week with two of
our projects. This has also happened previously in the last two
months. I really believe for us the problem started when we decided
to use RoboSource so two of us can work on the same project.
RoboSource is not too great and caused us to loose work and have
crashes a lot. Anyway, after we were convinced that the problem was
RoboSource, we removed the projects from RS control. This created a
new set of problems because RS did not release all the files.
Long story short, with the projects out of RS, we had issues
ranging from a project taking up to 30 minutes to load or not load
at all, to once loaded every time you move the mouse the pointer
turned into an hour glass and nothing could be worked on. Usually
forcing us to Force Quit RoboHelp.
After weeks of searching for solutions and not finding any,
and weeks attempting to replace backed up files like the XPJ file
and others. If we were lucky, we would leave it with the hour glass
overnight and it might start working the next day. But after a few
days the problem came back.
Yesterday it occurred to me that it looked like the project
opened but the hour glass was probably because it was looking for
files it couldn't find. So I had this bright idea. I made a backup
copy of the XPJ file and then I opened it using the Windows Notepad
application. I noticed that the XPJ file called for 20 RH specific
files to open. I checked to see if all these 20 files were
available on the project folder. I found 17 of them but there was
three that did not exist in the project folder. So I removed the
lines asking for the three missing files and then closed and saved
it. IF YOU DON'T KNOW WHAT YOU ARE DOING I WOULD NOT RECOMMEND
DELETING ANYTHING FROM THESE FILES!!! YOU MUST BE SURE YOU ARE NOT
ERASING IMPORTANT INFO.
After closing and saving the file I opened the project again,
it loaded in 45 seconds and it did the hourglass for about a minute
or two, which I think it was updating the files. Then the hourglass
went away and never came back. I closed the project and opened it
again to confirm that it would work properly. It opened in 34
seconds and no hourglass came up to delay anything. The issue is
now gone on all our projects and they are working better than ever.
I hope this helps anyone having this problem. REMEMBER TO
BACKUP THE PROJECT BEFORE ATTEMPTING THIS...just in case it doesn't
work as good for you...I only know of me doing this...
Maybe you are looking for
-
Windows machines unable to access smb shares
I know many people are having problems with smb on osx server, but my issues seems very basic, so I will try to ask for help here. Basically, I have set up a single folder for sharing on a Mac Mini running OSX Mountain Lion Server. Directory services
-
How can I redo my inital photo sync on my iPad 2?
When I did the initial sync of my photos from my PC to my iPad 2, I only selected a few folders from My Pictures. Now I'd like to add additional folders from My Pictures, but when I open the iPad 2 device in iTunes, I no longer have a Photos tab und
-
How to rollback to default settings in Discoverer Desktop?
Hi all, I have a small question. I want to get back to default settings (Settings when it first installed on the machine) in Discoverer Desktop. I changed lot of settings some known and some unknown. Can anybody please help me to rollback to my defau
-
Is het geschikt voor Mac Os 10.3.9?
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/852833]]</blockquote> Ik gebruik een mac G5, kan ik dan wel updaten?
-
cutting a feature in beijing... transferring 35mm to minidv (25fps pal) to cut on fcp 5... plan to cut in 24fps using conforming function in fcp... anyway to convert back to 25fps pal... manual only describes using a 24p capable vtr... thanks, henry