Swing Control Suggestions

I have a project that contains multiple forms of data that I want to be connected and scrollable.
The data would be two strings of characters, a string of numbers that is the position of the character string, and XY chart/graph of data. The problem with the XY data is that it has more data points than the character string. So for position 5 in the string the data, the XY data that cooresponds would be postions 33-45, and for position 6 in the string data it could coorespond to positions 46-50. I want a scrollable marker that displays over the strings and XY charts to show the data for particular positon.
Tried to show an example below, a picture of trace with out the markers can be seen : http://biophysics.uoguelph.ca/images/facilities/dna.gif
Text Example:
...............5............... |10|............... 15
A C A A C G T A G| A | T A G G G
A C A A C G T A G| A | T A G G G
| -----------------------|.....|---------------
|................................|.....|
|................................|.....|
| >>>>>>> xy graph here >>>>>>>
|................................|.....|
| -----------------------|__|---------------
................................. ||
...............................Marker
Any suggestions on what to use to do this?
Tried to fix the graph
Message was edited by:
jschneid
Message was edited by:
jschneid

This sounds tricky to me. Maybe I'm wrong and there is an easier solution, but I think that you will have to make two canvas fields, and render into them individually. Afaik there are also Convencience Methods to draw Text. Then you have to implement some MouseClick() or MouseDrag() Listener, which reads at the least the y coordinate from your upper field and refreshes the view in the second canvas accordingly.
Edit: afaik canvases don't implement the scrollable interface, so if you want to make something scrollable, you should create a panel, add scrollbars to it, and insert into the panel your canvas. See the sun tutorials for further infos about scrolbars..

Similar Messages

  • Tutorial on AWT/Swing control flow

    Greetings all,
    Just wondering if any of you folks know of a good tutorial on AWT/Swing control flow? I'm doing some pretty complex stuff with a table whose editors call other windows and insert values into the table based on callback objects...weird stuff happening with loss of focus when the other windows come out, etc etc etc.
    I have it working via a series of what I consider kludges, but I would really like to implement it cleanly, and it's looking like that's going to require understanding <ugh> <grin>
    So it looks like it's time that I bit the bullet and got to grips with control flow in AWT/Swing. Is there a tutorial out there that could help me with this?
    Many TIA

    skiaddict1 wrote:
    Let's take your word for it, but if you have the slightest doubt please consider the subject: EDT violation is a classic here.OK sure, but I really don't think I'm violating it. I avoid multi-threading like the plague, and only introduced it for my report writer because I wanted to have a little window advising the user that the report was in the process of being written.Raise your left hand and swear this report writer is not running when you experience the problem you describe! >o(
    OK, this is just kidding, as per the rest of your description, it sounds reasonable now to assume that your problem is not related to EDT violation.
    I'm doing some pretty complex stuff with a table whose editors call other windows and insert values into the table based on callback objects...This summary is a bit worrying, and I thought you would mention problems in the display of the table being edited. But you seem to refer to problems in other windows, or did I misunderstand?
    Or do you mean, loss of focus in the editor still being edited? Can you please clarify what you do and what your problems are?
    In particular, what does the other windows come out mean?OK, I was trying to be sparse with details because I didn't think they were relevant.Actually the worrying seems all the more justified, now that you have described it more extensively: I was afraid that you would raise other windows while editing, and that's the case. I know little of focus though...
    I have a table in window A, one of whose columns has a custom editor which, when a cell in the column is double-clicked, registers itself with window B as a choice-listener (see later) then asks window B to come to the front. Window B, when the user performs a choice amongst the UI elements in there, fires a choice-event to its listener, i.e. the custom editor. At which point the editor saves away the chosen value (for use by getCellEditorValue()), sets the text in the cell appropriately, turns edit mode off via fireEditStopped(), and brings window A back to the front.
    (...) once the custom editor asks window B to come to the front, the table in window A loses focus and when it is brought back to the front, the table's JScrollPane seems to have the focus (visually, it has the focus rectangle around it). Pressing the Tab key has no effect on focus; you have to use the mouse to focus something.I assume you have read the tutorial on using tables in Swing.
    It contains an example where a custom editor is bringing up a dialog: http://download.oracle.com/javase/tutorial/uiswing/components/table.html#editor
    AFAIK, the example does not suffer from focus problems.
    What I am finding, and I reiterate this is new since I rewrote the windowing subsystem for the app (the custom editor was not changed in the rewrite), is that (...)Just what do you call "rewriting the windowing system" (just to rule out the possibility of something Ramboesque)?
    I have no idea why this loss of focus is occurring, and I am at a loss to begin to figure it out. As I wrote above, I have a series of kludges which gets around the symptoms, but I would really rather figure it out and fix it.OK I admit I cannot tell what happens exactly, but:
    1) instead of bringing window B to front, couldn't the editor bring up a dialog B (e.g. using JOptionPane.showXxxDialog() to bring up just the choice panel? The advantage is that it is more "synchronous", you can control when the window A's table model is updated.
    2) what worries me too is that you update the model of the table being edited while you're editing one cell of it? Would it be possible, and make sense in your case, to update this model later (that is, post the model update as an invokeLater(...) call)? I don't see how seeing the table updating underneath helps the user editing its cell, but you may have your reasons.
    What do you call flow control , or control flow in AWT/Swing?Basically, what I am after is something that will help me begin to understand/diagnose problems such as the above when they happen in my code. I am deeply averse to multi-threading (...) Things in my code were working, and that was enough for me.
    But the above behaviour, and another weird behaviour I was having last week, which again I have solved with what I consider a kludge, and again which only began with my new windowing subsystem, have caused me to realise that it's time I really got to grips with this issue.Yes, when they say beware of threads when using Swing , nobody tells to not use threads! Just to be aware of how special Swing is with regards to threads (at least, compared to AWT, that didn't make such warning).
    I would like, for example, to really deep-down understand exactly when listeners for AWT-Swing events get called. I don't really care so much when the events get put on the queue, but I do care when exactly my event handlers will be called. This will help me diagnose problems, I'm sure.Well they get called in the EDT, by some framework code that, in an infinite loop, does something along the lines of:
    - pop next event from the event queue
    - determine which is the target widget
    - let the widget transform the event and send it to all registered listeners
    Now with dialogs, things gets dimmer, because while a dialog is brought up (via a<tt>setVisible(true)</TT> call on the EDT, the EDT is indeed suspended, and a new event thread manages the events for the dialog).
    I'm sorry I have no reference for that behavior, and my description is certainly blurry (and possibly wrong), but I don't think your problem is so much related to threading as I initially thought.
    N.B.: Darryl's second link does features sequence diagrams that try to demonstrate what happen (in a specific example with asynchronous access, but you can derive the simpler, regular, working, from it).OK, yes I saw that diagram, I was offput by the asynchronicity but I will have another look tomorrow also. Thanks againDon't put too much hopes in there, indeed it's definitely not the kind of info I understand you're looking after.
    Much luck all the same, and feel free to come back with your findings, or with more questions, about the initial subject (reference on event flow) and the specific problem (your focus issues with the editor).
    I also cannot end this message without suggesting that you try to reproduce the problem with an SSCCE (http://sscce.org), that you could post here for us to try out. See this recent discussion about the multiple interests of this approach: {message:id=9587964}
    Best regards,
    J.

  • Can I use Swing controls with Forms 9i?

    Is there a way to use Java Swing controls with Forms 9i via a PJC or something? If so, is there a white paper on it? Thanks.

    Yes you can. There is a quick start about PJC here:
    http://otn-stage.us.oracle.com/products/forms/htdocs/upgrade/pjc/content.html
    And there is also a paper about Forms in the Java World that you should read.
    http://otn.oracle.com/products/forms/pdf/forms_in_java_world.pdf
    You might want to have a look at the Oracle9i Forms Demos for some code samples as well.

  • Looking for Source Control suggestions

    I'm a non-professional "at home" programmer and want to set up and experiment with Source Control. The available options seem to be CVS, Subversion and Perforce, although I gather that CVS is 'old technology' replaced by Subversion.
    My requirements (desires)
    A) Run on 10.4.11
    B) integrate with XCode, but can be accessed without it when desired
    C) have a GUI interface (can use command line, but prefer GUI)
    D) can store non-text documents (like Word Processing and Spreadsheets - not necessarily graphics)
    What are advantages/disadvantages of Subversion vs Perforce?
    What are the best GUIs for Subversion?
    Any suggestions / advice would be appreciated.
    Thanks for any help.

    frankinmelrose wrote:
    The available options seem to be CVS, Subversion and Perforce, although I gather that CVS is 'old technology' replaced by Subversion.
    There are actually quite a few more than that. Plus, Perforce is commercial software. I believe it can be used for free under some circumstances, such as yours.
    It sounds like you have bought into the Subversion propaganda There is nothing wrong with CVS. It is super easy to setup and use. It is more a competitor to Subversion than being replaced by it. In fact, I would now call Subversion 'old technology' replaced by Git.
    My requirements (desires)
    A) Run on 10.4.11
    They all do.
    B) integrate with XCode, but can be accessed without it when desired
    Most do.
    C) have a GUI interface (can use command line, but prefer GUI)
    Most do. There may be 3rd parties that have build GUIs in some cases.
    D) can store non-text documents (like Word Processing and Spreadsheets - not necessarily graphics)
    They all do.
    I can't answer any other questions as I've never really used Subversion or Perforce. I tried to install the Subversion server but gave up because it was way too complicated. I like CVS - sweet and simple.

  • Looking for Swing control like Explorer Bar

    Hi folks,
    on Win XP you have in the Windows Explorer (file mode) on the left side this nice column showing additonal information about the selected file like creation date or a thumb of an image file. You can expand and collapse the information panels by clicking on an arrow icon in the head of the panel.
    I haven't seen such a control for Java Swing. Maybe there is one but I'm searching with the wrong key word.
    Any ideas?
    Sebastian

    I believe that a JTree with customized renderers
    would bring you something close to what you expect.No, this would be a dirty hack. I was thinking more about a layout with several cells and in each cells some kind of control. Still I was hoping that something like that already exists.
    Sebastian

  • Swing Framework Suggestions

    Hi,
    I'm new to Swing and am looking for a good book and/or white paper on the correct way to structure a swing application in JDK 1.6. There are a lot of ways to do things but I'm looking for suggestions for the simple stuff: best way to start up and shut down an application, where to put the database i/o layer, etc...
    The app I'll be writing is simple and basically will be a multi-frame app that manages data in Oracle. I've written the app using servlet/jsp technology but need to duplicate the functionality using Swing.
    thanks,
    -john

    explore this:
    http://java.sun.com/developer/technicalArticles/javase/swingappfr/
    may be it'll help or give you a start.

  • Swing control name!?

    Hi,
    Im experimenting with swing at the moment and i really need to be able to add this item but i dont know what it is called!! The best example of it i can show is on this page;
    http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-LAF.html
    Under "6. Example: Windows LAF (Sun SwingSet Demo)" , on the right hand side of the window, where is says "selection mode". The small line that goes around a set of other controls, in this case a combo box.
    Does anyone know what this is called and how to add it to a Swing program!?
    thanks for any help !!
    Edited by: creman42 on Feb 26, 2008 11:10 PM

    I can see now that a border can be added to a component quite easily!
    Is it possible to make the border encompass more than one component though? Say, put a titled, etched border around two text fields? I thought it might be a 'compoundBorder' :-(
    .

  • Dynamic Access Control : Suggested Value Claim

    Currently studying for my 70-417 Exam, there's one thing i don't fully understand and can't find any resources that explain it.
    A claim type can be created, from what I understand the "suggested values" are optional, these can remain empty like for example the department resource property. 
    But why is there an suggested value option for the department? 

    Hi,
    When we create a new claim type, in the Suggested Values section, click No values are suggested.
    But search for the department attribute in the Filter box and make sure that the
    department string is highlighted in the results. Add Finance and
    HR as suggested values.
    You could refer to:
    http://www.petri.com/dynamic-access-control-dac-kerberos-claim-types-resource-properties.htm
    Step-by-Step: Protecting your information with Dynamic Access Controlhttp://blogs.technet.com/b/canitpro/archive/2013/05/07/step-by-step-protecting-your-information-with-dynamic-access-control.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Create custom swing control

    Hi,
    I'd like to create my very own swing component. It isn't just a modification of an existing one but rather a group of existing components (JButton, JProgressbar, JToggleButton) that interact. Is there a way to do this with some kind of visual editor like you can crate a custom control in the Visual Studio .Net?
    Kind regards,
    Stijn

    arrrghh did you say "Visual Studio .Net"
    aaargh did you say "visual editor"
    just kidding...
    You can combine different JComponents in a container component...JPanel would be the most suitable I think... So you just create a class myCustomComponent... which extends JPanel... If you want, you could give some parameters through the constructor..
    ... and there you go... new myCustomComponent("This could be heading text"); will create your "custom component"...
    There are visual editors... (jbuilder has one, lots of IDE's have visual editors these days) But beware of:
    - the auto-generated code (lots of overhead)... hope it works...because you dont want to debug this code
    - (not all but) most dont use layoutmanagers (the way they should) meaning you are creating "Visual Basic" applications (every component has fixed size, no matter what resolution, framesize, etc)
    - most important...you dont learn how to work with swing !
    V

  • Version control suggestions

    Before i spend tons of hours on this i figure it would be a good idea to ask people with much more experence than myself.
    I work in a small multimedia development shop of about 10 people. Our pimary development tools are the Adobe CS5.5 Master Collection (Flash Pro, Photoshop, Premiere, Audition and Dreamweaver), Adobe Captivate, zBrush, and 3D Max 2012.
    We HAVE TO come up with some sort of version control solution that will work with all the programs we use. Alien Brain was the first choice.... unfortunatlly that was denied due to cost. With Captivate, Master Suite, zBrush and AutoDesk Entertainment Suite all being purchased reciently we have about all the software purchasing we are going to have for a while.
    So, with the current situation explained..... what are the prefered version control systems that you all have used or currently use that will support the most Adobe file formats?
    Are there ay version control systems you have found to be best to avoid with Adobe file formats?
    Thank you in advance for any comments, suggestions or warnings.

    To clarify..... Yes, I understand that different Adobe Applications save in different formats and there is no "common" Adobe file format.
    The purpose was to see if there were any specific formats that people had problems with in a particular flavor of subversion being as there are different types of subversions as well as different user clients and methods to check items in any out of whatever particular subversion solution you choose.
    I have been researching all the different subversions solutions, branches of those solutions as well as user clients for checking in and checking out items. Unfortunately most don't have a list of supported file types but i have found a few complaints about specifically Apache Subversion and TortioseSVN corrupting data but I believe a majority of the complaints are from incorrect installs and incorrect paths.
    A good list of version control solutions I started with :
    http://forums.adobe.com/message/3177311
    Other people struggling with the same problem :
    http://forums.adobe.com/thread/610194
    http://forums.adobe.com/message/2730898
    Adobe Drive & Asset Management that says it works with CS5.5 Applications but numerous complaints on it falling short.
    http://www.adobe.com/products/adobedrive.html
    To ask the question a different way that might be easier to get a response.
    What version control solution do you use with Adobe CS5.5 Applications?
    Do you have any problems with any particular file type in the solution that you use?
    I wish i could use Alien Brain and i am jealous if you do. :O)

  • Problem getting handle of swing controls

    Hello there,
    I have an application developed using Swing.
    Handle of only the main container is obtained using tools like spy++ etc..
    But the other controls such as JButton etc. is not shown.
    I want to host this in a C# panel.
    Is there any API or something available for this.
    Please can anyone help.

    I guess as awt uses windows graphical components it can be found out easily
    but swing is independent of the OS.Read the first sentence of my response at #2. No software is "independent" of the OS. Lightweight components are painted in the window of the heavyweight ancestor, hence have no window of their own.
    The nearest advice I can give for your requirement is to research the methods of SwingUtilities particularly convertPointFromScreen(Point p, Component c) and getDeepestComponentAt(Component parent, int x, int y).
    db

  • Mission Control - Suggestion

    Hi there,
    me and a friend discussed the new Mission Control and its way to organize windows. When one have a lot of windows open Mission Control beautifuly organizes one's windows to preview miniatures, and it's really great. Though, when one have only three windows open, for example, Safari, Mail and Spotify (running all three semi-fullscreen, dragged to maximize), Mission Control stack up these windows on each other. This feels both less beautiful and, more important, less effective.
    Am I the only one who would like the kind of miniature previews all the time, not depending how many windows are open?
    Tried to post example pictures, but they were to big, I'll post them later when I've scaled them down.
    Miniature:
    Not miniature:

    My friend also told me Mission Control behaves different depending what application one is using. When he runs Skype, Safari and Spotify he gets the miniatures, but when he closes Skype and opens iTunes instad, the stacking mode is on.

  • MYSQL Array Assigned to Swing Control

    I am having a hard time figuring out, how I assign data from an array to a swing object such as a "scroll pane". Below is my query and I see how to assign an individual value to a scroll pane, but how would I assign all the values from my query to the scroll pane and put each value on a different line?
    statement s2 = conn.createStatement ();
                   s2.executeQuery ("SELECT stuff FROM  mydatabase");
                   ResultSet rs2 = s2.getResultSet ();
                   int count2 = 0;
                   while (rs2.next ())
                       String stuffVal = rs2.getString ("stuff");
                   ++count2;
    stuffscrollbox.setText ( "$" + stuffVal);Edited by: crusherdestroyer on Jan 18, 2010 1:58 PM

    hii,
    I can not hepl you, cos I never used these JComponents, but maybe here is your "result"
    [http://java.sun.com/docs/books/tutorial/uiswing/components/textarea.html]
    or
    [http://www.java2s.com/Code/Java/Swing-JFC/CatalogSwing-JFC.htm]
    ... kopik

  • Question for everyone: Swing Design Patterns

    I've used kodo for many web projects, but I am currently looking at using it
    for a swing application and am having a hard time figuring out the best way
    to use it.
    My original attempt used a singleton PersistenceManager for the entire
    application that always had a running transaction. When the application
    started, the pm was created, and currentTransaction.begin() was called.
    Whenever anything was done that needed to change the JDO-persisted business
    objects, I would simply make the necessary method calls to the business
    objects. Whenever the user wanted their changes to be saved (committed)
    there was a "File->Save All" menu item that did a
    currentTransaction.commit() then a currentTransaction.begin(). This seemed
    very easy to do, and I could even bind JTextFields etc. directly to
    getters/setters and all data to and from the swing app was nice and easy. I
    see two problems with this, however:
    1) The user needs to remember to call "file->save all" from time to time,
    which is not always done
    2) It makes an all-or-nothing approach to saving data. You cannot have a
    "ok/cancel/apply" button on each window that commits only the data changed
    in that window.
    I could get rid of the "file->save all" necessity by having it auto-commit
    after certain things are done. The trouble is, I think that would probably
    be after each text field etc. looses focus and would lead to a lot of commit
    overhead as well as default fields that shouldn't really be committed to the
    database being committed.
    My next attempt was to try to make the entering/editing of data independent
    from the gets/sets/business methods on the business objects. In this
    attempt, there is still a singleton pm, but no on-going transaction. On
    each "OK" button click, transactions are begun, the information set in the
    swing components are transferred to the business objects, and the
    transaction is committed. Before long, however, it got very unwieldy to try
    to manually track how swing controls map to business object calls. I did
    find a nice pattern where there is a "BufferedValueHolder" object that you
    could use for storing information, and when a passed variable would change
    values (which you would change on your "OK" button), then it would
    automatically send the new value to the underlying business objects which
    would then be committed. This helped a lot on simple properties that can be
    modified, but fell apart when you had more complex business logic such as
    "when they hit the approve button, the approver needs to be set to the
    logged in user, the approval date must be set to the current date, and the
    item must be removed from the unapproved list". Since I can't call the
    ..approve() method on the business object when the approve button is hit
    (since it is not running in a transaction), I must move/duplicate all the
    logic of which swing fields must be changed into the UI layer, in which it
    doesn't belong.
    That's where I am so far. I thought about trying to create a new pm for
    each window/transaction, but I think that would lead to too many "this
    object not managed by this PM" exceptions. I've looked at the swing example
    in the Kodo download, but the example does not seem to fit a more complex
    application than the one provided. I also checked out JDOCentral.com, but
    couldn't find anything in their code exchange. Any suggestions would be
    very welcome.
    Nathan

    Thanks for the quick response!
    What do you mean by a DataSource class? For example, suppose you have the
    following PC class:
    public class Task {
    private Integer id;
    private String name;
    private String approvedBy;
    private Date approvalDate;
    ..... (getters and setters)
    public void approve(String approver) {
    approvedBy = approver;
    approvalDate = new Date();
    Would you have a DataSource class that is a duplicate of Task except that
    getters and setters throw properyChangedEvents? Does it help to have the
    DataSource object extend the PC object? Where would you put the approve()
    method? On the Task or the TaskDataSource object? How does the DataSource
    object know to save its information to the base Task object, by registering
    with the PM?
    I like the idea of not starting a transaction untill the DataSource changes.
    Does refreshing each PC simply require a call to PM.refresh(), or does it
    take more than that?
    Nathan
    "Alex Roytman" <[email protected]> wrote in message
    news:[email protected]...
    We use:
    - single PM
    - we use DataSource concept (proxy to percistent classes which fires
    property change events on state change) to facilitate MVC
    - Transaction started and commited per dialog box. It is started by
    listeners attached to DataSource class so we do not start transactionbefor
    each opening of a dialog box bu only when attempt is made to make a change
    to state of a PC
    - Dirtiest part is thet we have to refresh each PC instance (or sme time a
    graph of instances) before we present it for editing
    Have fun
    Alex
    "Nathan Voxland" <[email protected]> wrote in message
    news:[email protected]...
    I've used kodo for many web projects, but I am currently looking at
    using
    it
    for a swing application and am having a hard time figuring out the bestway
    to use it.
    My original attempt used a singleton PersistenceManager for the entire
    application that always had a running transaction. When the application
    started, the pm was created, and currentTransaction.begin() was called.
    Whenever anything was done that needed to change the JDO-persistedbusiness
    objects, I would simply make the necessary method calls to the business
    objects. Whenever the user wanted their changes to be saved (committed)
    there was a "File->Save All" menu item that did a
    currentTransaction.commit() then a currentTransaction.begin(). Thisseemed
    very easy to do, and I could even bind JTextFields etc. directly to
    getters/setters and all data to and from the swing app was nice and
    easy.
    I
    see two problems with this, however:
    1) The user needs to remember to call "file->save all" from time to
    time,
    which is not always done
    2) It makes an all-or-nothing approach to saving data. You cannot havea
    "ok/cancel/apply" button on each window that commits only the datachanged
    in that window.
    I could get rid of the "file->save all" necessity by having itauto-commit
    after certain things are done. The trouble is, I think that wouldprobably
    be after each text field etc. looses focus and would lead to a lot ofcommit
    overhead as well as default fields that shouldn't really be committed tothe
    database being committed.
    My next attempt was to try to make the entering/editing of dataindependent
    from the gets/sets/business methods on the business objects. In this
    attempt, there is still a singleton pm, but no on-going transaction. On
    each "OK" button click, transactions are begun, the information set in
    the
    swing components are transferred to the business objects, and the
    transaction is committed. Before long, however, it got very unwieldy totry
    to manually track how swing controls map to business object calls. I
    did
    find a nice pattern where there is a "BufferedValueHolder" object thatyou
    could use for storing information, and when a passed variable wouldchange
    values (which you would change on your "OK" button), then it would
    automatically send the new value to the underlying business objectswhich
    would then be committed. This helped a lot on simple properties thatcan
    be
    modified, but fell apart when you had more complex business logic such
    as
    "when they hit the approve button, the approver needs to be set to the
    logged in user, the approval date must be set to the current date, andthe
    item must be removed from the unapproved list". Since I can't call the
    .approve() method on the business object when the approve button is hit
    (since it is not running in a transaction), I must move/duplicate allthe
    logic of which swing fields must be changed into the UI layer, in whichit
    doesn't belong.
    That's where I am so far. I thought about trying to create a new pm for
    each window/transaction, but I think that would lead to too many "this
    object not managed by this PM" exceptions. I've looked at the swingexample
    in the Kodo download, but the example does not seem to fit a more
    complex
    application than the one provided. I also checked out JDOCentral.com,but
    couldn't find anything in their code exchange. Any suggestions would be
    very welcome.
    Nathan

  • Swing applet refresh problem in JRE1.6

    Now , i met a problean in java swing project which troubled me for a long time, that i want to ask for some suggestions, I really very very thank you.
    The problean is :
    we use the swing in the applet , and run it with JRE 1.6, we find that the interface often disappear and appears blank when refresh the page , but when we use the mouse to over the control which in the interface ,then this control will appear . Then we try to reduce some not used codes/packets in this project , then we find that this phenomenon will appear less often.
    This defect will not appear in JRE 1.4 and JRE 1.5. And also it will not appear when just run it as a desktop program.
    I don't know if it is a bug in JRE 1.6 or it is due to our program. Can you give me some suggestions ? Thank you!
    More information like following document :
    =================================================================================================
    2, Problem happen condition :
         Applet with swing;
         Run in JRE1.6 environment;
         Open or refresh the applet web page;
         IE, Netscape, Mozilla , almost all explorers.
    3, Problean describe :
         Open the Start.html page and click the �Pre-Provisioning Tool� button to open the PPT.html page. There is a configuration applet which uses swing in the PPT page. When we open or refresh this page , the applet often disappear and show blank. And when we move the mouse over the position of the control which in the applet , these controls then will appear again. But if we use the buttons which in the applet to open and back to the applet tab page, it will not show blank.
         At last we find that this problem is a very common problem when run applet in JRE1.6. It may happen whenever you run the applet which uses swing controls in JRE1.6.
         And I find that we use �Ctrl + Alt + Del� to lock the computer and then login in again when the page is blank, then the page will turn ok and the applet will appear.
         This prolem just happen in JRE1.6 environment . If in JRE1.4 or 1.5 it performes good.
    4, What cause this issue :
         Until now , we have no successful and perfect solution to solve this problem completely. And we still don�t know the real reasons that causes this issue.. We find that there are some people in internet also met this issue and has no solution.
         But we can give some options to try to find the real reasons. And we also have been try some time :
    It may a bug for JRE1.6. We can sure that it is not a bug for explorers, because it happens the same in all explorers. If it�s a JRE bug , I think we can only to waite the newer version JRE to solve this issue.
    It due to our program. If this is true, I think we may modify the program to solve this sssue. But I�m afraid that it may need us to modify too much.
    5, What works we have been try :
    5.2 For our program : We try such ways :
         1) If the project too big and too much to download : We remove the not needed modules that in TCOTool project. .
         Result : This problem happened less often
         2) If some methods are not compatible between JRE 1.4/1.5 and JRE1.6 : I try to modify these method to fit JRE1.6 and compile the project by jDK1.6. (Methed such as show() to setVisible(true), hidden() to setVisible(false) )
         result : This problem happened less often but it�s also will happen.
         3) If operator too much when open PPT/SUT : such as load xml file too much times and so on.
    6, About our project :
    6.1 The applet web page :
    <OBJECT
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = "application/x-java-applet;version=1.6"
    width="860" height="640">
    <PARAM NAME = CODE VALUE = "com.installApplet" >
    <PARAM NAME = CODEBASE VALUE = "./jar/" >
    <PARAM NAME = ARCHIVE VALUE = "TCOTools.jar" >
    <PARAM NAME = MAYSCRIPT VALUE = true >
    <PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.6">
    <PARAM NAME = "scriptable" VALUE = "false">
    <PARAM NAME = "java.security.manager" VALUE>
    <PARAM NAME = "java.security.policy" VALUE="java.policy" />
    <PARAM NAME = "func" VALUE="1" />
    <COMMENT>
         <EMBED
    type = "application/x-java-applet;version=1.6" \
    CODE = "com.installApplet" \
    JAVA_CODEBASE = "./jar/" \
    ARCHIVE = "TCOTools.jar" \
    WIDTH = "100px" height="30px" \
    MAYSCRIPT = true \
    java.security.manager = \
    java.security.policy ="java.policy" / \
    func="1" \
         scriptable = false \
         pluginspage = "application/x-java-applet;version=1.6">
         <NOEMBED>
    </NOEMBED>
         </EMBED>
    </COMMENT>
    </OBJECT>
    6.2 The TCOTools.jar is almost 15Mb totally. So it need sometime to download this file. But we just test it in local.
    =======================================================================================================
    Welcome you to send mail to [email protected]

    I will start by stating that I really have no idea what the problem could be. I will add to that by stating that I am going way out on a limb here.
    That said - have you checked all your browser settings, cleared your cache and all the other things one usually does when an Applet acts quirky?
    Also, have you tried the Applet tag instead of Object just for a test?
    Sorry I can't do better than that, but w/o seeing the code, it's going to be difficult for anyone to help I think unless they have had a similar problem.

Maybe you are looking for

  • How do I scan multiple pages to one PDF?

    I am trying to scan pages of a contract into one PDF file but I am unable to see how this can be done, can anyone advise me? Thanks :-)

  • EAS 9.3.1 Error - Cannot connect to database

    Hello. I am experiencing a connectivity issue with executing business rules in EAS. I can execute the business rule correctly, at first; however, if I attempt to execute the same rule a second time, the following error message is displayed: *"You mus

  • Creative cloud does not ask for sign in

    I renamed the opm file to old and reran creative cloud.  It just created a new file and did not ask for a login???? Message was edited by: semicolen I can't download any programs from the web site

  • I can't get my movies from iphoto to imovie

    I am very new to mac. I just got my first mac a month ago. I am trying really hard to make a movie. I can get pictures from iphoto onto imovie no problem. But I can't get movies. I can see my movies and play them on iphoto, but when I bring up things

  • Changing language for n96?

    I recently obtained a phone from a friend overseas it's an N96 in chinese, and i'm not that great with chinese i really want to change the phone language to english is it possible? how? please help