How to get a thread unarchived?

This thread has been archived, even though it was not answered:
http://discussions.apple.com/message.jspa?messageID=12450545
I have a related problem, and would have commented, had it been possible.
What do we do to request the un-archiving of a thread?

James006.5 wrote:
This thread has been archived, even though it was not answered:
http://discussions.apple.com/message.jspa?messageID=12450545
I have a related problem, and would have commented, had it been possible.
What do we do to request the un-archiving of a thread?
First that thread concerned software that is now 2 versions ago, so the OPs concern may have been addressed.
Second, since your problem is "similar" but not the same, you really would have to post a new thread anyway. Doing otherwise might have been construed as "thread-jacking" even though you didn't mean to do it.

Similar Messages

  • How to get each thread in the threadpool

    Hi,everyone.I'm now learning java.util.concurrent package and I have two questions about the threadpool.
    1) How to get each thread in the threadpool;
    2) How to get each thread's data in the threadpool and dispaly them onto GUI;
    e.g :
    There are 5 threads in the threadpool(ThreadPoolExecutor) and I have 100 tasks(Runnable or Callable),every task scans a directory(every task scans a different directory),how can I display the "real-time" count of the files in the directory which the current 5 threads in the threadpool scan onto the ListView Items in the GUI?

    Willings wrote:
    Hi,everyone.I'm now learning java.util.concurrent package and I have two questions about the threadpool.
    1) How to get each thread in the threadpool;You don't
    2) How to get each thread's data in the threadpool and dispaly them onto GUI;
    e.g : You don't
    There are 5 threads in the threadpool(ThreadPoolExecutor) and I have 100 tasks(Runnable or Callable),every task scans a directory(every task scans a different directory),how can I display the "real-time" count of the files in the directory which the current 5 threads in the threadpool scan onto the ListView Items in the GUI?You should notify your "monitor" when you add something to the pool, and the Runnable/Callable should notify the same "monitor" when it starts to execute, and during its processing. Finally you notify the monitor when the execution has completed.
    Kaj

  • How to get the thread a sequence plays on?

    Hi, this is sort of a continuation of an earlier question... I have a sequence that plays back with imperfect timing. I would like to 'get a hold' of the thread that it plays back on in order to check / change its priority, etc.
    But a Sequencer is an interface; and it is gotten from the MidiSystem, which is also an interface. I am stumped as how to go about accessing the Java Sound Sequencer thread which does in fact get created by my program when I get a Sequencer from the MidiSystem.
    An excellent suggestion was given to me to extend Sequencer, then use the Thread.getCurrentThread() on my "MySequencer" object. To get a Sequencer, you call MidiSystem.getSequencer() - I can't figure out how to get a "MySequencer" (object that extends Sequencer) rather than a Sequencer from the MidiSystem.
    So, to be clear, my question is - Is there a way to get a reference to the thread that a sequence plays back on?
    Forgive me if this is a boneheaded question... I should have taken more Java classes back when I was in school...
    Thanks

    You think the GUI should be sluggish and keyboard and mouse capture delayed so someone can hear Fur Elise with precise timing as they laggingly scroll through a JTable with their mouse while waiting a few seconds for button clicks to occur?YES! That's ABSOLUTELY what I am suggesting. In none of my previous posts have I said or even suggested that the MIDI file was to be playing in the background have I? This program is about real time music recording and playback. Live, that is.* In front of an audience*. If a midi burp were OK with me, I would not have been pursuing this, would I? Everything I have posted is in relation to the timing needs I have for this program. I don't care if the flippin' screen goes blank, if the MIDI timing is good.
    OK?
    Briefly: The program has two main ... uh.. use cases. First, the GUI is used to pre-program which clips are to played where. This is not done in real time, so I am indifferent to any consideration of timing. It is mainly for this that I use the JTable. But in the Second case, when the play button is hit, the sequence plays and the clips are triggered according to what was previously been entered int the JTable. This sequence plays a drum track which I play along with. The sequence also triggers the clips to be played (via MetaMessages) which have to be to be in time with everything else - or else the program is utterly useless. So I hope you can see that at this point, the GUI doesn't really matter that much, but the timing of the MIDI sequence is crucial.
    I agree with you that perfect midi timing might not be all that important for everyone. But here's a quote from the Java Sound tutorial:
    "The Java Sound API does not include sophisticated sound editors or graphical tools, but it provides capabilities upon which such programs can be built."
    Surely Sun would not expect application designers to go to the trouble of building such programs if the Java Sound API was designed to deliver flawed Midi timing at best? Am I mistaken in thinking that stable Midi timing is possible? From all that I have read over at the Java Sound Resources web site it seems that not everybody suffers from bad MIDI timing.
    -Scott

  • How to get a thread dump, in case of an IDE freeze

    When you're working with the IDE and if it either freezes or becomes sluggish for no apparent reason, it's recommended to generate a thread dump, and report it to Studio feedback alias ([email protected]) with a description of what happened and attach the dump to it.
    A thread dump is an invaluable source of information to IDE developers when investigating deadlocks and some performance issues. It is a textual dump of all active threads and monitors of Java apps running in a Virtual Machine.
    The ways to generate a thread dump differ depending on the platform:
    * Windows systems
    Press Ctrl-Break in the command console you used to start the IDE.
    You won't be able to see the console in case you started the IDE using the default desktop icon created by the IDE installer. To be able to generate the thread dump, you must launch the IDE using a console window (invoke Command Prompt, go to {studio-install-dir}/bin and type runide.exe), or configure the desktop shortcut properties to launch the runide.exe program instead of the default runidew.exe.
    Note: You should increase the screen buffer size of the command prompt, so that it could retian the entire thread dump output. To do that, on the command prompt where IDE is running, open the properties dialog box by right clicking on the titlebar and selecting 'properties'. Then select the 'layout tab' and increase the 'screen buffer size' parameters to - width - 200, Height - 4000.
    * Unix systems
    Press Ctrl-\ in the terminal console you used to start the JSE.
    Alternatively, you can also generate a thread dump by sending the QUIT signal to the Java VM running the JSE
    kill -QUIT process_id
    where process_id is the process number of the respective java process.
    -------Here is a sample thread dump -------
    Full thread dump Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode):
    "Text-Layout" daemon prio=2 tid=0x0886ebd8 nid=0x4e4 in Object.wait() [9e8f000..9e8fd94]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11730910> (a org.netbeans.editor.view.spi.ViewLayoutQueue)
    at java.lang.Object.wait(Object.java:429)
    at org.netbeans.editor.view.spi.ViewLayoutQueue.waitForTask(ViewLayoutQueue.java:128)
    - locked <0x11730910> (a org.netbeans.editor.view.spi.ViewLayoutQueue)
    at org.netbeans.editor.view.spi.ViewLayoutQueue$LayoutThread.run(ViewLayoutQueue.java:182)
    "Compilation" daemon prio=2 tid=0x0883d878 nid=0xb1c in Object.wait() [9c8f000..9c8fd94]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1143dde0> (a java.util.LinkedList)
    at java.lang.Object.wait(Object.java:429)
    at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.nextJobAndTask(CompilationEngineImpl.java:162)
    - locked <0x1143dde0> (a java.util.LinkedList)
    at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.run(CompilationEngineImpl.java:175)
    "TimerQueue" daemon prio=5 tid=0x03575478 nid=0xb18 in Object.wait() [988f000..988fd94]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x10d4af60> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:231)
    - locked <0x10d4af60> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:534)
    "AWT-EventQueue-1" prio=7 tid=0x0344fae0 nid=0xb14 in Object.wait() [3caf000..3cafd94]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x10d4afe8> (a java.awt.EventQueue)
    at java.lang.Object.wait(Object.java:429)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:339)
    - locked <0x10d4afe8> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:162)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    You can get a thread dump (Windows only) whitout any preparation. Simply use the Stack Trace tool from this web site:
    http://tmitevski.users.mcs2.netarray.com
    It works on Windows services too.

  • How to get the Thread in another running application??

    Hi,
    If I have a java application running (as daemon), how can I get the running thread context from another new started java application?
    What I'm trying to accomplish here is that, after I started a daemon thread ( a ServerSocket program ), I want to write another program to control the running thread ( query the status, stop it, or restart it ...).
    Any help will be highly appreciated! Thanks.

    A different java application runs in a different Processand they cannot share anything.
    Any lucky out there? Anyone tried something on this?

  • How to get a thread dump from Weblogic 9.1

    Hi All,
    Can someone please walk me through how to configure a WLS9.1 server to generate thread dumps. Ideally I'd like to do this via the admin console. I read about the MagicThreadDumpFile property, but can't see where/how to set it.
    Many Thanks
    Stuart

    I only know how to do this in WLS 8.1, but it will likely work in 9.1. On UNIX, you can send a kill -QUIT to the pid and it will dump threads to standard output for the server. You can also use weblogic.Admin THREAD_DUMP (http://e-docs.bea.com/wls/docs92/admin_ref/cli.html#wp1197887) or whatever is the equivalent in WLST now that weblogic.Admin is deprecated in 9.x. I'm guessing it is the threadDump() method documented at http://e-docs.bea.com/wls/docs92/config_scripting/reference.html#wp1104314.
    I know of no way to do this through the console, unfortunately.

  • How to get a Thread Dump from Windows Service?

    We're running WLS 8.1 as a Windows Service, but we can't seem to generate a Thread Dump when the server locks up (apparently).
    Can anybody recommend a wrapper that will do this?
    --Kurt                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    Please refer to the following URL for more information http://e-docs.bea.com/wls/docs81/adminguide/winservice.html
    To cause the WebLogic Server instance to print a thread dump to standard out, do either of the following:
    Use the weblogic.Admin THREAD_DUMP command. For more information, refer to "THREAD_DUMP" in the WebLogic Server Command Reference.
    Open a command prompt and enter the following command:
    WL_HOME\bin\beasvc -dump -svcname:service-name
    where WL_HOME is the directory in which you installed WebLogic Server and
    service-name is the Windows service that is running a server instance.
    For example:
    D:\bea\weblogic81\server\bin\beasvc -dump -svcname:mydomain_myserver
    Cheers
    Raj

  • How to get my threads beyond 60 days?

    Hi,
    I need to access my threads beyond 60 days.
    Thanks!

    Hi,
    Currently there isn't a good way to do this. The last forum update limited the My Threads view to 60 days only.
    There have been some proposed workarounds, such as using the My Alerts view - but that only works if you've set alerts on all of your threads. People also have suggested using a search engine and targeting the search to social.technet.microsoft.com or social.msdn.microsoft.com.
    Personally I have had zero luck with either of these methods.
    I see you've already joined in on
    my thread in the suggestions forum, but you can also try using the Site Feedback link at the bottom of the page (TechNet branding only, this link doesn't appear if you're viewing this thread in the MSDN branding) to send in a request directly.
    I really hope Microsoft will change course on this one, but I'm not holding my breath.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • How to get thread by thread id

    I can get threadID of any thread. But how to choose any thread with id of it for waiting.

    Hi,
    from Java5 on, getting IDs of all Threads is possible using ThreadMXBean.getAllThreadIds().
    Apart from that, I do not know a way of getting the Thread from its ID. As Peter mentioned, if you have to wait for one Thread, it should only be one that you created yourself and that you retained a reference to...
    Bye.

  • How to get exit status of multiple threads

    Hello Everyone,
    Please let me know how to solve the below problem.
    I have one main thread. It creates 10 threads and joins them. Now i am interested in the exit status of each of the individual thread. Please let me know how to get the exit status of each thread.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    From the man page for thr_join:
    int thr_join(thread_t thread, thread_t departed,   void   *status);
    If a thr_join() call returns successfully with a non-null
    status argument, the value passed to thr_exit(3THR) by the
    terminating thread will be placed in the location referenced
    by status.
    To find the man page for any of the thr_xxx functions, run the command
    man thr_xxx

  • How do i get esixting Thread

    Hai to all,
    I have facing very critical Problem in thread. I have 5 textFields and 5 Checkboxs and 2 buttons(Start and Stop).I have typed filenames in textfields(5 filename to file Textfield for the perpose of reading File).While clicking the start button immediately i create 5 new Thread (Thread name same as textField name).right this place all are working fine.
    My Question is Now i will check the first Check box immediately i want to retrive particular thread of when i was entering first textField likewise i checked.. to all.
    Finally i want one solution..
    Here How do i get Particular Thread
    Regards
    K.suresh

    If you are creating the threads, you should be having their references. Just use the corresponding reference.

  • How to get the original query string in an event receiver when dialogs are enabled

    I have scenario where I am adding a document to a document library which has an external data column on it. My goal for this column is to have it automatically populated with an appropriate value based on original query string to the page. The general
    idea is that I am on a custom page that has various webparts on it including a view of my document library that is context sensative based on the query string, and I want to use that context sensitivity not just to filter the list but also when adding documents.
    I have been searching around for solutions to this problem all day and have gotten this far:
    I have an event receiver attached to my document library that handles the ItemAdded event syncronously (as such I have the new list item available to me). In that event receiver I am able to set the column values as required. Where I am stuck is on getting
    the value from the query string that I need to actually set as the column value.
    Based on:
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/8cfcb299-9a55-4139-86ec-0b53b2922a54 and several similar articles/posts I have been able to get the original source Url with the query string I want via the following
    code in my event receiver:
    private HttpContext context;
    public EventReceiver1()
    context = HttpContext.Current;
    public override void ItemAdded(SPItemEventProperties properties)
    var originalQueryString = context.Request.QueryString["Source"];
    // Parse the query string and use the value ...
    The problem is that this solution breaks down if the dialogs are turned on under the advanced settings for the list. The reason the solution fails is because the "Source" query string parameter goes away and is replaced by "IsDlg" set to a value of "1".
    Does anyone know how to get past this hurdle? Any help would be greatly appreciated.

    Hi Stuart,
    The reason I'm looking for "Source" in the query string is because that is something I found to be reliable when the Dialogs are turned off. I've dug around pretty deep in the Request object to see if anything had the data I was looking for and unfortunately
    it doesn't appear to be there. The
    context.Request.QUeryString.ToString()
    returns a rather simple one of:
    List=%7b43ECDCB0-8440-4652-B067-AA20481779D7%7d&RootFolder=&IsDlg=1
    and the
    context.Request.UrlReferrer.Query.ToString()
    has the same value.
    I suspect this is due to the dual step process that takes place in adding an item to a document library where the first modal popup (which I suspect likely has the information I need) gives you the opportunity to browse to your file and then the second
    dialog (maybe this is getting brought up as a result of another request which is now referring back to the original request that brought up the first dialog?) where you edit your properties.
    Thanks for the try though, if you've got anything else I'd love to hear it.

  • How to get the values of all elements and sub elements from  following xml

    how to get the values of all elements and sub elements from following xml...
    <?xml version="1.0" encoding="UTF-8" ?>
    <List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
    <TransactionID>TransactionID</TransactionID>
    <Match>
    <Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
    <List_Matched_Field>
    <FSFM_Matches>
    <NUMBER>NUMBER</NUMBER>
    <TERROR>TERROR</TERROR>
    <TU>TU</TU>
    <NAMEU>NAMEU</NAMEU>
    <DESCRIPT>DESCRIPT</DESCRIPT>
    <KODCR>KODCR</KODCR>
    <KODCN>KODCN</KODCN>
    <AMR>AMR</AMR>
    <ADDRESS>ADDRESS</ADDRESS>
    <SD>SD</SD>
    <RG>RG</RG>
    <ND>ND</ND>
    <VD>VD</VD>
    <GR>GR</GR>
    <YR>YR</YR>
    <MR>MR</MR>
    <CB_DATE>CB_DATE</CB_DATE>
    <CE_DATE>CE_DATE</CE_DATE>
    <DIRECTOR>DIRECTOR</DIRECTOR>
    <FOUNDER>FOUNDER</FOUNDER>
    <TERRTYPE>TERRTYPE</TERRTYPE>
    </FSFM_Matches>
    <OfacMatchDetails>
    <UID>UID</UID>
    <TITLE>TITLE</TITLE>
    <SDNTYPE>SDNTYPE</SDNTYPE>
    <REMARKS>REMARKS</REMARKS>
    <ID_UID>ID_UID</ID_UID>
    <IDTYPE>IDTYPE</IDTYPE>
    <IDNUMBER>IDNUMBER</IDNUMBER>
    <IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
    <ISSUEDATE>ISSUEDATE</ISSUEDATE>
    <EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
    <ADDRESS1>ADDRESS1</ADDRESS1>
    <ADDRESS2>ADDRESS2</ADDRESS2>
    <ADDRESS3>ADDRESS3</ADDRESS3>
    <CITY>CITY</CITY>
    <STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
    <POSTALCODE>POSTALCODE</POSTALCODE>
    <COUNTRY>COUNTRY</COUNTRY>
    </OfacMatchDetails>
    </List_Matched_Field>
    </Match>
    </List_AML_Finacle>

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5249519

  • How to get a Mad Catz R.A.T 3/5/7 to work on Arch Linux

    This post isn't about me asking for help.  Instead it is a post about how to get a Mad Catz R.A.T. 3/5/7 mouse working.  I'm posting this for future Archers who have bought one of these mice.  They're a good mouse product but unfortunately there is a weird bug in the mouse's firmware that makes it "lose focus" on a desktop or "locks" your cursor into the middle of your screen seemingly at random.  Your mouse might also fail to click on things in a window or on a desktop.  It took me the better part of a day and a half to find the answers to fix this behaviour.  I couldn't find anything on this forum so I'm posting this for future Archers.  I am not the originator of the solution so I will post the relevant information from others' posts from two different web sources.  If you're interested in the technical aspects of why this behaviour is present in this type of mouse please scroll down.*
    The problem as summarised by the guy at Delightfully Linux:
    if you plug in the mouse without modifying xorg.conf, the buttons become unresponsive and the Ubuntu desktop will appear to have locked up even though the cursor still moves. This is the same issue with the black R.A.T. 7, and it has the same solution.
    He gives you one way to fix this:
    Put the code below into /etc/X11/xorg.conf
    Section "InputClass"
    Identifier "Mouse Remap"
    MatchProduct "Saitek Cyborg R.A.T.7 Albino" #change this if you need to by using input-list to generate the correct product code
    MatchDevicePath "/dev/input/event*"
    Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 0 0 0 0 0 0"
    EndSection
    That button remapping full of zeroes will not let you use the side scroll button or the red button. 
    However, another person posted a comment to Delightfully's blog who claimed that his code (below) will enable all of the R.A.T.'s buttons.  I have tried it and it enabled my side scroll wheel for a few minutes.  It did not last and I have no permanent fix at this time.  If someone else does have a fix for the other two "buttons" on the mouse please post it!
    The code which supposeldy enables all of the mouse's buttons is here:
    /etc/X11/xorg.conf.d/910-rat.conf and this file place in /etc/X11/xorg.conf.d
    # Cyborg Mouse R.A.T. 7 in Ubuntu 10.10 (Extra Buttons)
    Section "InputClass"
    Identifier "R.A.T."
    MatchProduct "R.A.T.7|R.A.T.9"
    MatchDevicePath "/dev/input/event*"
    Option "Buttons" "17"
    Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
    Option "AutoReleaseButtons" "13 14 15"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Save and reboot
    I can verify that both sets of code do work on a R.A.T. 7 Contagion and that others affirm it works for a R.A.T 3 or 5.
    One final method of fixing this without bothering with files in /etc/X11/xorg.conf.d is to use a .Xmodmap in your home directory with this in it:
    Put this file in your home directory file in the user directory:
    This post isn't about trying to get any of the series' of R.A.T. mice from Mad Catz working. I'm posting this for future Archers who have bought one of these mice. They're a good mouse product but unfortunately there is aweird bug in the mouse's firmware that makes it "lose focus" on a desktop or "locks" your cursor into the middle of your screen seemingly at random. Your mouse might also fail to click on things in a window or on a desktop. It took me the better part of a day and a half to find the answers to fix this behaviour. I couldn't find anything on this forum so I'm posting this for future Archers. I am not the originator of the solution so I will post the relevant information from others' on two different web pages.
    The problem as summarised by the guy at [url=https://delightlylinux.wordpress.com/2012/03/22/making-the-cyborg-rat-7-albino-work-with-ubuntu/]Delightfully Linux[/url]:
    [quote]if you plug in the mouse without modifying xorg.conf, the buttons become unresponsive and the Ubuntu desktop will appear to have locked up even though the cursor still moves. This is the same issue with the black R.A.T. 7, and it has the same solution.[/quote]
    He gives you one way to fix this is to add this section to your /etc/X11/xorg.conf:
    [code]Section "InputClass"
    Identifier "Mouse Remap"
    MatchProduct "Saitek Cyborg R.A.T.7 Albino" #change this if you need to by using input-list to generate the correct product code
    MatchDevicePath "/dev/input/event*"
    Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 0 0 0 0 0 0"
    EndSection[/code]
    That button remapping full of zeroes [i]will not let you use the side scroll button or the red button[/i].
    However, another person posted a comment to Delightfully's blog, which he claims will enable all of the R.A.T.'s buttons. I have tried it and it enabled my side scroll wheel for a few minutes. It did not last and I have no permanent fix at this time.
    If someone else does have a fix for the other two "buttons" on the mouse please post it!
    The other code, that is supposed to work for all buttons is here:
    [code]Put the code below into /etc/X11/xorg.conf.d/910-rat.conf
    # Cyborg Mouse R.A.T. 7 in Ubuntu 10.10 (Extra Buttons)
    Section "InputClass"
    Identifier "R.A.T."
    MatchProduct "R.A.T.7|R.A.T.9"
    MatchDevicePath "/dev/input/event*"
    Option "Buttons" "17"
    Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
    Option "AutoReleaseButtons" "13 14 15"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Save and reboot[/code]
    I can verify that both sets of code do work on a R.A.T. 7 Contagion and that others affirm it works for a R.A.T 3 or 5.
    One final method of fixing this without bothering with files in /etc/X11/xorg.conf.d is to use a .Xmodmap in your home directory with this in it:
    [code] xinput --set-button-map "Saitek Cyborg R.A.T.7 Mouse" 1 2 3 4 5 6 7 8 9 10 11 12 0 0 0 16 17 18 19 20 21[/code]
    One final note: It seems that this mouse (on my rig at least) is incapable of scrolling in text boxes (such as the one I'm using to post this). I don't know why this behaviour is present but it was not like this, prior to using the previously written code that is, and I don't know if it is also fix-able. If you find out how to repair this function please post it in this thread.
    I hope this helps whoever comes across it. :)
    xinput --set-button-map "Saitek Cyborg R.A.T.7 Mouse" 1 2 3 4 5 6 7 8 9 10 11 12 0 0 0 16 17 18 19 20 21
    *   If you're curious as to why this behaviour occurs look on this Ubuntu bug tracker forum.  If you want to read the whole thread it's here.   *
    I hope this helps whoever comes across it. 
    [edit]fixed some typos
    Last edited by MoonSwan (2014-06-22 21:22:36)

    There actually is a wiki entry that points to Delightfully's posts on his blog.  Honestly, I've never edited a wiki and I wasn't sure if I'd be stepping on someone else's wiki-toes (so to speak).  If there is interest in that, though, I'll learn to edit a wiki and add it.
    Last edited by MoonSwan (2014-06-22 21:21:10)

  • How to get the location of a jarfile in the java 1.6 cache

    In 1.5 i am using getResource() to get the location of the jarfile i need, but in 1.6 this does not work anymore. I found a webpage with a workaround for this, but unfortunately i did not bookmark it and i can't find it again. Does anybody know how to get a file url instead of an http url to the jar file?
    I need the location to this jarfile. There is no other workaround and please DO NOT respond and tell me, that i don't need the location in the cache! I read all threads on the java forums to this issue and i didn't find a good answer.

    java.io.File class can be used.
    File f = new File("filename");
    S.O.P(f.canRead());
    S.O.P(f.canWrite());You can set the attribute using Runtime class.
    Runtime r = Runtime.getRuntime();
    Process p =r.exec("attrib -r file");If you are working with unix,
    r.exec("chmod -permissionoptions file");

Maybe you are looking for