Is it possible to have a progress bar on a J3d-applet?

I wonder if it is possible get a download progress bar to work on a J3d-applet. I have to do this with a JProgressBar, which is a Swing component. I have heard that it is hard to get Swing to work with Java3d. Is this the case?

You can try to add Canvas3D in some container like JFrame, JDialog or what ever you are using and add JProgressBar to that container as well. You may use appropiate layout as well. JProgressBar cannot be a part of your 3D world. But if u want to use simple components like Label or TextFields then u could use Overlay library at j3d.org

Similar Messages

  • Is it possible to fit 2 progress bars within 1 (more)

    hi, I am implemented a client/server which streams music files, and plays them concurrently. I currently have a progress bar which indicates how much of the file has been downloaded.
    And I could also have a seperate progress bar indicated how much of the song has been played, but what i would really like to do, is have 1 progress bar, and have 2 actual bars moving inside it (each different colors), one indicated the download percentage (which should always be ahead) and the other indicating how much of the song has played (which will write over the download bar).
    Thus i would like to have both bars moving at the same time. I dont think this is possible, but if anyone has any ideas, I would love to hear them. Thanks!

    ok...so i got that working, and i am very grateful for your help. but i have ran into another problem:
    I want to set the two different progress bars to different colors, so you can distinguish them, so I looked at the API for fillRect says it uses the default color. so i looked in the JProgressBar to see if there is any function to change the color and there wasn't, so i tried g2g.setColor(Color.RED), and i got all these errors:
    java.lang.NoSuchFieldError: RED
    at client$JDoubleProgressBar.paintComponent(client.java:425)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
    n Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Any ideas here?

  • Is it possible to use a progress bar in Photoshop?

    Hi,
    I'm developing an automation plug-in to Photoshop. It take long time to do the work, I therefore want to start a none modal dialog with a progress bar and a cancel button. I did not find any example of this in the SDK. Is it possible to use any of the functions in the PIProgressSuite.h for this kind of dialog?
    Regards,
    Mattias

    I don't think you will have much luck with the progress suite. It is used for one operation that your plug-in would control. You are probably using multiple Photoshop events and want to sum them up in a progress bar. Ideally you would want a double progress bar, one for the overall progress and one for the step progress. Unfortunately, the progress suite will get reset with each process that Photoshop tries to show progress for. Your best bet is to just use an OS progress bar in your dialog. Figuring out the progress will be dificult.

  • How can I make it so downloads have a progress bar?

    In the newest version (14.0) there are no progress bar or percentage on downloads in the notification pulldown. They also don't appear in the Downloads page of Firefox until they are done downloading.
    Is there a way to get either of those back? I've looked at the Extensions for mobile, and with the few that have been made in the short time this version has been out, none of them would help with this. Are there any options that I can't find?
    If there isn't, can you please add this sometime in the future? It's driving me mad not knowing how far my download is.

    Sorry about that! We are working on adding this back to Firefox in an upcoming version:
    https://bugzilla.mozilla.org/show_bug.cgi?id=741654

  • I want to have a progress bar monitor and display the progress of a file being opened, How do I do it?

    I have written large files for a report. When I open the files in the VI by pushing a button I want to view the progress of the file being opened. My first thought was to get the file size, some how measure the number of bytes comming out and monitor it on the progress bar. I am unsure about how to do this. If you know of a better way to monitor and disply the progress of an opeing file please let me know.

    If I understand you correct the progress bar is not the problem, it's to get a numeric value indicating the progress...right?
    If so then you could read the file size, preallocate a byte array to hold the file, then read it in chunks and put the chunks into the array using replace array elements...(you could concatinate strings, but that would easily become very memory and speed expensive...)until you have read the entire file. If the file is 20 MB and you want the progress bar to have a resolution of about 1% read it in chunks of 256 KB...For each chunk read, increment the progress bar...
    MTO

  • Possible to have vertical scroll bar for a cell in ALV Grid (using methods)

    Hi All,
    I have a field with length 100 characters on a ALV Grid (using methods)..User doesn't want to scroll all the 100 characters horizontally to see the whole text rather he wants to have a vertical scroll bar for the cell so that he can scroll vertically.
    Is it possible to have split the cell text into lines and have a vertical scroll bar for a cell in ALV Grid?
    Regards
    Jaker.

    Thanks for the suggestion Balu.I tried this , but while scrolling,headers also getting scrolled.
    Becoz of this , if i scroll down to the last row,headers are getting hidden.
    Headers should always be static.only the data should scroll.
    Since h:datatable is being rendered as one table , i can div tag for this table alone.
    If i have seperate datatable for headers alone i can do this .But i should not use two datatables.

  • Is it possible to create a Progress Bar?

    Hi All,
    Is there any way to create a Progress Bar in a Form?
    John

    You can create your own progress bar form using Visual Basic.  Display your progress bar form with the always on top flag set with an API call.
    I've done this and I use it a lot because I have found that there is no other way to indicate to the user that a lengthy process is executing.

  • Can BIP report have a progress bar/indicator?

    Hello,
    I have a BIP report embedded in a dashboard along with the BI answers report.
    While processing, the BIP report shows a clock symbol indicating the progress bar where as BIP report is not showing anything.
    this gives the end user a wrong impression that whether the report is executed or still processing.
    Is there a way to set a text message or a symbol to show progress?
    Please reply if you know how to.
    Thank you
    Narasimha Rao

    Sorry about that! We are working on adding this back to Firefox in an upcoming version:
    https://bugzilla.mozilla.org/show_bug.cgi?id=741654

  • Is it possible to have a scroll bar in a view

    Hi
    I have a bam dashbaord and it is having 4 different views(Graph Type) .One of the views is a bar chart. This graph shows up a large amount of data and bars are getting squeezed.Is there anyway we can have a scroll bar in the view so that bar charts will not get squeezed.
    Any help would be highly appreciated.
    Thanks
    Laj

    Have you been able to do this? I have a similar requirement. Please reply if you have found a way to do this.

  • Show progress bar before loading the applet or application

    hi ,
    My application size is large and take some time to load . Now i want that to show progress bar . how can i do this .Please Help me
    sorry for my english.
    Thanks

    Do everything in a seperate thread. Create a progress bar in the main thread, then create a new thread for initializing your app. Once the init is done, hide the progress bar and make your app visible.

  • Is it possible to have the menu bar and the tabs on the same level?

    Just downloaded Firefox 4 and I've started to get used to tabs being above the address bar (since it fits the theme so well), but I'm not used to the loss of the menu bar. When I bring the menu bar back, however, it creates a whole new level instead of being on the same level as the tabs like the Firefox button is. I'm just wondering if there's a way to make the menu bar and the tabs on the same level.

    No, that is not possible.
    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * New Old Menu: https://addons.mozilla.org/firefox/addon/new-old-menu/
    * Personal Titlebar: https://addons.mozilla.org/firefox/addon/personal-titlebar/
    * Personal Menu (Personal Firefox Button): https://addons.mozilla.org/firefox/addon/personal-menu/

  • Is it possible to have my navigation bar on the side? I see where a sidebar can have the bookmarks, but I don't see how to get the navigation bar to be on the side. I want more vertical space than horizontal so that pages appear longer.

    Running Win7

    I don't know if there is an extension that can place the location bar in the sidebar.<br />
    You can look at the Autohide extension if you need more room.
    Autohide: http://www.krickelkrackel.de/autohide/
    See also http://www.krickelkrackel.de/autohide/autohidehelp.htm

  • Progress bar in Table ivew

    Hi all,
    is it possible to have a progress bar a table view?
    After some test I have not got the result I need: I have set, in the expression field for that progress bar column, a numeric field (the numeric field belongs to the custom table I am reading), but the progress bars are completely full for each row of the output table (even though values are differents).
    Thank you,
    Diego.

    Hi Mario,
    thank you for the solution you suggested me. Now I just have to "persuade" my users!
    Jokes apart, I have also tried to import 5 GIF images, because 5 are the possible values of the numerical column, conditioning the visualization but during the rendering they were scaled (because of the height of the table row) and the bar images I have imported appeared invisibles and centered... not a big result!
    At times the imagination can be helpful but not this case.
    Thank you again.
    Diego.

  • Progress bar do not show progress

    Hi there,
    I have created one dialog with button and progress bar. When I click on button, I have functionality which is getting called through which I make some changes in  currently open Indesign document like drawing some graphic frames, placing images on them. I want to update progress bar present on dialog when frames are getting drawn. But the dialog box freezes when the document changes taking place. How to update progress bar?
    Thanks in advance.

    Hello vDeepak,
    it is not possible to have a progress bar working with dialogs. You can use palettes and windows but not dialogs. If you like to better understand how progress bars work, this is a very good resource:
    http://forums.adobe.com/message/3152162#3152162
    It's a discussion based on javascript, but it would make sense.
    Best,
    Luca

  • Progress Bar of a Database Transaction

    Hi,
    Is it possible to have a progress bar showing the progress a Database Transaction?
    I use MS Access and a PreparedStatement which I fill up with addBatch() and then I execute with executeBatch().
    Inserting in an Access Table 10.000 new entries takes about a minute...
    Instead of having the user wait with a message "Please wait..."
    can I track its progress somehow?
    Thanks!!!

    Unfortunately, I don't think that there's a standard way to get asynchronous responses back from the database on the status of your batches. You could fake it by figuring out the "standard" time it takes, but otherwise you're in the dark about your statement's status.

Maybe you are looking for

  • I need help with my Mac OSX 10.5.8. How can I use and install Flash Player 11.7?

    From one to another day it wasn't possible to watch  videos from certain TV channels in my browser (Firefox, but I think it doesn't matter). I have Mac OSX 10.5.8 and don't know how I can use Flashplayer 11.7. Do I have to upgrade to Mac OSX 10.6? Do

  • Switching off a program

    we are implementing multiorg.we have a report for seven different countries which run the same report under different responsibilities. this report uses a package that gets the required data into it.now my functional spec says this program is switche

  • Problem to update my CC

    Hi I need help updates my CC. I get : ERROR CODE U44M1P7

  • Forming generic sql query   for joining multiple sap tables in ABAp

    Hi, I am new to this abap field ,facing an issue onsap-jco project . I have used RFC_READ_TABLE  FM ,Customized this FM but facing an issue how to write generic  open SQl select statement  for joining multiple tables  using RFC_READ_TABLE .Kindly hel

  • Getting Error when consuming portlet using WSRP at remote loacation

    Hi, I have created a producer portlet on a weblogic(10) domain installed at one machine. When i am trying to consume that portlet using WSRP ,on that machine , its working perfectly fine. But if am trying to consume this portlet from some other remot