Partial selection problem with different Look & Feel

Hi,
Is there any [free] Look and Feel which supports the partial selection
of checkbox. I have tried the same with LiquidLnF & SkinLnF these Look and Feel doesnot support partial selection (it shows full selection instead).
please suggest something.....
thanks,
parag

Surely a L&F can't cover this, since a check box only has two logical states. L&F is just a means of expressing the model, and the model won't support what you're doing.
I'm sure there's a three-state check box component out there if you look for one.

Similar Messages

  • How to show different Look & Feel to different users?

    Hi,
    how to show different Look & Feel to different users?
    Thanks & Regards,
    Venu--

    If you want the user to select then LookAndFeel then Visitor Tools.
    If you want to use code and dynamically change it then http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/index.html?com/bea/netuix/laf/PortalLookAndFeel.html
    if you have only a few combinations then you could even create different desktops and direct the user to the appropriate url

  • Selection Problem with JTable

    Hello,
    i have a selection problem with JTable. I want to allow only single cell selection and additionally limit the selection to the first column.
    I preffered the style from MS Outlook Express where you can select the email accounts to edit.
    It is a table like this:
    Account name  |   Type  |   ...
    --------------|---------|---------------------
    Hotmail       |   POP3  |
    GMX           |   IMAP  |The selection should be only avaibable at 'Hotmail' or 'GMX' - not at 'POP3', 'IMAP' or as complete row selection.
    Please help me!
    Thanks.
    Warlock

    Maybe this will helpimport java.awt.*;
    import javax.swing.*;
    public class Test3 extends JFrame {
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        String[] head = {"One", "Two"};
        String[][] data = {{"R1-C1", "R1-C2"}, {"R2-C1", "R2-C2"}};
        JTable jt = new JTable(data, head);
        jt.getColumnModel().setSelectionModel(new MyTableSelectionModel());
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        jt.setCellSelectionEnabled(true);
        jt.setRowSelectionAllowed(false);
        jt.setColumnSelectionAllowed(false);
        setSize(300, 300);
        setVisible(true);
      public static void main(String[] arghs) { new Test3(); }
    class MyTableSelectionModel extends DefaultListSelectionModel {
      public void setSelectionInterval(int index0, int index1) {
        super.setSelectionInterval(0, 0);
    }

  • Problem with different resultset with same data and same query in Oracle 8.1.7 and 9i

    Hello,
    I have been using this query in oracle 8.1.7
    SELECT
    ID,
    AREA_NO
    FROM MANAGER_AREA MGR
    WHERE COMPANY_ID = :id AND
    (:value < (SELECT COUNT(ROWID)
    FROM MANAGER_WORK MW
    WHERE MW.AREA_ID = MGR.ID AND
    (MW.END_WORK IS NULL OR MW.END_WORK >= SYSDATE)))
    order by AREA_NO;
    In the above query I want to see rows from MANAGER_AREA table depending upon date criteria in the table MANAGER_WORK and also upon the parameter :value i.e if I pass a value as 0 I get to see records for which their is atleast 1 record in MANAGER_WORK with the date criteria and if I pass -1 then I get all the records because minimum value that count(*) would give is 0. The resultset was as expected in 8.1.7.
    A couple of days back I installed PERSONAL 9i to test for testing the basic functionality of our program with the same data. This query fails and irrespective whether I pass -1 or 0 it returns me same dataset which I would have got in case if I pass 0.
    I do not know whether this is a bug that has got introduced in 9i. Can anybody help me with this problem. It would be difficult for me to change the parameter send to this query as the Query is called from many different places.
    Thanks in advance
    Amol.

    I cannot use a Group by and a having statement over here. The problem with 'Group by' and 'having' clause is If I have to make a join between the two tables. When I use join then I get only rows that are linked to each other in the table.
    If I use outer join to solve that problem then I have to take in consideration the other date condition. My previous query use to virtually discard the corelated query result by using -1 as the value. This will not happen in the join query.
    Amol.

  • Problem with different execution paths in hierarchical query

    Hello,
    I have problems with the following query:
    SELECT DISTINCT P.ID FROM PRODUCTELEMENTIMPL P WHERE ( ( LABEL = 'SomeLabel' AND PRODUCTELEMENTTYPE = 'SomeText' AND ( STATE = 'created' OR STATE = 'stored' OR STATE = 'archived' OR STATE = 'archivedRestored' ) ) ) START WITH P.ID = 42 CONNECT BY PRIOR P.ID = P.PARENT
    We have two databases (an Oracle 10g XE and Oracle10g Enterprise). In the XE Database the query is executed very fast, but in the main installation it takes minutes. If I "explain" the query I get two different execution paths:
    The fast:
    ID      PARENT_ID      LEVEL      SQL      Kosten      Anzahl Zeilen
    0      -      1      SELECT STATEMENT      20      49
    1      0      2      HASH UNIQUE      20      49
    2      1      3      FILTER      -      -
    3      2      4      CONNECT BY WITH FILTERING      -      -
    4      3      5      TABLE ACCESS BY INDEX ROWID PRODUCTELEMENTIMPL (TABLE)      -      -
    5      4      6      INDEX UNIQUE SCAN SYS_C0072201 (INDEX (UNIQUE))      2      1
    6      3      5      NESTED LOOPS      -      -
    7      6      6      BUFFER SORT      -      -
    8      7      7      CONNECT BY PUMP      -      -
    9      6      6      TABLE ACCESS BY INDEX ROWID PRODUCTELEMENTIMPL (TABLE)      19      49
    10      9      7      INDEX RANGE SCAN PRODUCTELEMENTIMPL_IDX1 (INDEX)      3      49
    11      3      5      TABLE ACCESS FULL PRODUCTELEMENTIMPL (TABLE)      19      49
    Slow:
    ID PARENT_ID LEVEL SQL Kosten Anzahl Zeilen
    0 1 SELECT STATEMENT 1 1
    1 0 2 HASH UNIQUE 1 1
    2 1 3 FILTER
    3 2 4 CONNECT BY WITHOUT FILTERING
    4 3 5 TABLE ACCESS BY INDEX ROW 3 1
    ID PRODUCTELEMENTIMPL (TABLE)
    5 4 6 INDEX UNIQUE SCAN SYS_C0 2 1
    020528 (INDEX (UNIQUE))
    6 3 5 TABLE ACCESS FULL PRODUCT 6628 1100613
    ELEMENTIMPL (TABLE)
    Any ideas how to avoid this full table scan?
    bye
    Roland Spatzenegger

    Hello,
    thank you for your replies. The indices and table schemas are the "same", but only the content for the tables was mirrored.
    We made some tests with dropping and/or analyzing the tables, but it didn't change anything.
    The main problem is that the query takes 33s in the productive environment for searching in a couple of rows. At the moment it's faster to make
    SELECT DISTINCT P.ID, P.STATE FROM PRODUCTELEMENTIMPL P WHERE ( ( LABEL = 'SomeLabel' AND PRODUCTELEMENTTYPE = 'SomeText' ) ) START WITH P.ID = 42 CONNECT BY PRIOR P.ID = P.PARENT
    and to test in the application if the state-values match ;-)
    If I add the hint /*+ no_filtering */ in the test environment, I get the same "slow" execution path as in the production environment. So the question is, what prevents the filtering in "connect by"?
    (I think in the fast version it filters only the results of the hierarchical query, in the slow version it first filters the whole table and joins/merge it with the hierachical result).
    bye
    Roland Spatzenegger

  • GUI screwed up sometimes with Custom Look & Feel

    Hello,
    i've got a few problems with my JApplet. Im using a custom Look and Feel (Kunststoff, http://www.incors.org/index.php3 very nice) - my problem is that sometimes (often) my gui is screwed up - some parts like a JPane are not rendered in the custom look & feel, they are still default, but the buttons are. Or my whole dialog looks like a little puzzle - small pieces are cut out.
    I have no idea how to avoid these bugs, im not certain that this is because of the custom look and feel because i seem to have the same problems with the metal look and feel from java.
    I tryed to put a repaint() in my initiliaze of my dialog classes at the very end, but no success either...
    Any help would be greatly appreciated.

    Hello,
    i've got a few problems with my JApplet. Im using a custom Look and Feel (Kunststoff, http://www.incors.org/index.php3 very nice) - my problem is that sometimes (often) my gui is screwed up - some parts like a JPane are not rendered in the custom look & feel, they are still default, but the buttons are. Or my whole dialog looks like a little puzzle - small pieces are cut out.
    I have no idea how to avoid these bugs, im not certain that this is because of the custom look and feel because i seem to have the same problems with the metal look and feel from java.
    I tryed to put a repaint() in my initiliaze of my dialog classes at the very end, but no success either...
    Any help would be greatly appreciated.

  • Problem with different Labview platform

    Maybe this issue must be address to NI.
    I have this library calling a register DLL. The purpose of the library is to convert a type of movie file from hard drive(*.mcf type) to image stream then to show and eventualy to save it.
    The DLL is designed by NAC camera designer, which is a high speed camera. The code is based on properties, methodes and events from DLL.
    Code works well in Labview 8.6.1, in Labview 11.0.1, Labview 12.0f3. Unfortunately code does not work in Labview 11.0.1f2 which happens to be the one I am developing my applications.
    I will post the code developed by NI Japan (camera also is designed in Japan) and the mcf file as well as the DLL which must be registered.
    The code is compiled in 8.6.1.
    Register first the dll then open the NAC MCFF Control_E.vi.
    Brows the mcf file
    Press Open button
    Slide the frames one by one for showing the images content of the mcf.
    If you want to open under other labview then 8.6.1 then copy the folder and run a mass compile under that version then open the same top vi.
    Please, show me what is different for different versions of labview then in my version does not work.
    Than you,
    Virginia
    Solved!
    Go to Solution.

    Just because it doesn't crash does not mean automatically that everything is alright. You just might be unlucky that the memory corruption does not happen in a vital part of the LabVIEW memory.
    Now, when loading your LLB in LabVIEW on my machine, the first indication that something is wrong would be the error message that C:\Windows\System32\gdi32.dll could not be found. And indeed this is a system DLL that should never be referenced by the full path but simply by the DLL name alone. So change the Library Name or Path in the CLN inside the nac_NI_BitmapRead.vi to just "gdi32.dll" (without quotes). And when you are at it, change the first parameter to be a pointer sized integer too, since this IS a pointer.
    Now look in the configuration dialog in the Function tab a bit further down and notice that the Calling convention is set to C. 99% of all Windows userspace APIs are really stdcall under Win32 and fastcall under Win64. A "bug" in LabVIEW versions before 2009 attempted to automatically fix wrong calling conventions from C to stdcall, based on certain naming attributes of the actually exported function in the DLL (and no, LabVIEW does not show those decorated names but the human readable name). The problem with this fix was that it did not allow for calling (admittingly seldom but nevertheless possible configurations) of DLL functions that happen to follow this naming scheme but were explicitedly declared cdecl by the programmer.
    Try it and tell us if that will help.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • OHJ show blank topic window with Nimbus Look & Feel

    Hi,
    I am using Oracle Help for Java. When I switch to Nimbus Look & Feel the topic window is blank - it does not display topic information. When I click button <Print> in topic window the topic is printed correctly. The same help work properly in other Look & Feels.

    The application that demonstrates this problem is jEdit - an open source text editor. I was told that the development of this editor started before JScrollPane was added to the JRE. Currently there's a lot of code, with high complexity, that replaces the JScrollPane for the text component of the editor, and I wouldn't go change it now. But leave that aside - I am particularly interested to know if this behavior is a bug in Nimbus or maybe my understanding of it is incorrect.
    In any case I don't want to hide the casing of the scrollbar, just the scrollbar (thumb) inside the casing. Isn't it strange that without modifying the value or limits, the scrollbar suddenly appears when the view becomes wider? It should be the other way around, the scrollbar should become visible when the view becomes narrower than the contents.

  • Problem with different calendars under Mountain Lion

    I upgraded recently from Snow Leopard to Mountain Lion and experiencing an annoying problem with the calendars "On My Mac" (I am using a MacBook Pro from mid 2009). With iCal under Snow Leopard I had seven calendars - Meetings, Performances, Family, etc. with different colors. After the switch to Mountain Lion these categories aren't maintained properly. Four of them have been seemingly merged into two, so that for example an event can't be categorized as "Family" but gets shifted automatically to "Meetings" (both calendars stay checked in the editing panel, but only one "sticks"). So I have three  calendars I can use and a four I can't.
    If I try to add a new calendar it appears in the list, but no event can be assigned to it.
    Is there a limit to the number of calendars one can have?
    I don't use iCloud, so there is no issue there.
    I have one Google calendar (a work schedule I have subscribed to ) which also works with no problems.
    Any ideas?

    Same problem when reseted  the PRAM.
    I read some Chinese Web , Many people got the same problem after upgrade to mountain lion
    you can see the locked icon show in the bottom left conner even my card is unlock
    I can read but can not delete any Photos
    http://i83.photobucket.com/albums/j286/2cktang/OSX/ScreenShot2013-03-11at23227AM .png
    you can see the locked icon show in the bottom left conner
    But I can edit everything in my Harddisk
    http://i83.photobucket.com/albums/j286/2cktang/OSX/ScreenShot2013-03-11at23235AM .png
    External Hard Disk no locked icon show in the bottom left conner
    http://i83.photobucket.com/albums/j286/2cktang/OSX/ScreenShot2013-03-11at23220AM .png

  • Problem with different versions of Page Headers

    Gurus, I have a strange problem. I need to have different Page Header format for first page and another format for the rest of the pages. So as suggested in the forums, I did the page setup for Header and Footer with “different first page” option in MS Word. This is not working. I am still seeing the First Page Header format on all the pages. I checked the RTF, there is no section break or any other special breaks in there.
    Any idea why it is not working ?. I can send the Word doc and XML input files.
    Thanks
    Sub

    Is there some way to attach the RTF template and XML input here?.

  • Windows 8/8.1 Partial Print Problems with Networked Inkjet Printers (Envy, Officejet and Deskjet)

    There are a lot of threads being posted about this problems with printing on the following these devices when they are connected in a Network Environment (Wireless or Wired)
    HP Officejet Pro 6830
    HP Officejet 6800
    HP Officejet Pro 6230
    HP Officejet 6220
    HP Officejet Pro 8610 e-All-in-One Printer series
    HP Officejet Pro 8620 e-All-in-One Printer series
    HP Officejet Pro 8630 e-All-in-One Printer series
    HP Officejet Pro 8640 e-All-in-One
    HP Officejet Pro 8650 e-All-in-One
    HP Officejet Pro 8660 e-All-in-One
    HP Officejet 7610 Wide Format ePrinter
    HP Officejet Pro 3610 Black and White e-All-in-One
    HP Officejet Pro 3620 Black and White e-All-in-One
    HP Officejet Pro 251dw Printer series
    HP Officejet Pro 276dw MFP series
    HP Officejet 7110 Wide format ePrinter
    HP Officejet Pro 501dw Printer
    HP Officejet Pro 401dw Printer
    HP Officejet Pro X451dw Printer
    HP Officejet Pro X576dw MFP
    HP Officejet Pro X476dn MFP
    HP Officejet Pro 451dn/551dn MFP
    HP Officejet Pro 451dw/551dw MFP
    HP Officejet 4630 e-All-in-One
    HP Deskjet Ink Advantage 4640 e-All-in-One Printer series
    HP Deskjet 2540 All-in-One Printer
    HP Deskjet Ink Advantage 2540 All-in-One Printer
    HP ENVY 5530 e-All-in-One Printer
    HP Deskjet Ink Advantage 4510 e-All-in-One Printer
    HP ENVY 4500 e-All-in-One Printer
    HP Deskjet Ink Advantage 3540 e-All-in-One Printer
    HP posted a workaround for this problem while they were working with Microsoft to get the root cause of the problem, many customers commented that the workaround helped them out and they were able to print. This workaround was not easy to use as the customer needed to add another printer manually and changed drivers.
    We can now announce that the problem has been fixed, the problem involved a Microsoft Network component that HP was using to talk to and track the printers on the network. This fix is being rolled out by Microsoft via Windows Update and anyone who has Windows Update enabled and set to automatically install updates should have already received this update. For those that do not have Windows Update setup to automatically install fixes the fix is available now and should be installed.
    The details of this fix and a manual method of installing it can be found here.
    http://support.microsoft.com/kb/3000461
    This fix is only designed for users that are using there printer on a Network (Wireless or Wired) and will not fix partial printing problems encountered with USB connections.
    There are many threads in HPs forums about this issue (below are links to a few of them)
    http://h30434.www3.hp.com/t5/Printing-Issues-Troubleshooting/Missing-partial-prints-amp-Printer-Offl...
    http://h30434.www3.hp.com/t5/Printing-Issues-Troubleshooting/HP-Envy-4500-cancels-job-in-the-middle-...
    http://h30434.www3.hp.com/t5/Other-Printing-Questions/Only-prints-half-a-page/m-p/4054888
    JonW
    I work for HP

    @tenkeypro 
    First, I would suggest you uninstall the exsisting driver and reinstall following one of these documents to see if it will clear this error message:
    Install HP print and scan software on a Windows 8 computer (32-bit and 64-bit)
    Universal Print Driver (no scan)
    Driver support included in Windows 8 / Windows 8.1 or in Windows Update
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • JFileChooser problems in GTK look&feel

    Hi,
    the JFileChooser dialog is just ugly and not acceptable when using the GTK look&feel, there are so many layout problems and display errors. It also does not look like the native dialog. I'm using Ubuntu Linux 7.10 and Gnome 2.20.
    My application uses the GTK look&feel, because most of the normal widgets look nice. Is there a way to use the same JFileChooser dialog layout as it is in the Metal look&feel when using the GTK look&feel? This would be an acceptable workaround...
    Thanks,
    Stefan

    I don't believe it will be supported under any platform but *nix platforms.  The GTKLookAndFeel currently requires native theme information which is not available on the Windows platform.                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with quick look since 10.7.4 upgrade

    Hi,
    So ever since upgrading to 10.7.4 I've had a couple of new issues with quick look.
    1.  Often when I first open quick look the file doesn't preview but opens only a grey square where the file "should' be.  If I close quick look and open it up again it works fine.  This is more a nuisance and not my real concern.
    2.  The biggest problem seems to be relegated to pdfs:  If i open a pdf in quick look and arrow up or down to search through a group of documents the heading changes file names, but the content of the preview stays on the first document I opened. 
    Anyone have any suggestions or experience this problem as well?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Problems with different received message from sql function

    Hello all!
    I have a little problem with my BPEL process. I call a sql function that returns a string. In this string I have a xml. The returned message can be something like:
    <error><id>id_error</id><message>descr_error</message></error>
    or
    <comm>
    <header>
    children tags
    </header>
    <body>
    children tags
    </body>
    </comm>
    As you see, I can receive two types of messages. Of course, the process transforms string -> xml.
    Depending on the type, the process must choose between two flows.
    My questions are: what should be the solution(the steps) to determine what type of message the function returns? In my project, where should I define the same message types in order to assignate them to a variable? In a xsd?
    Thanks in advance!!

    seems like you could solve this with a <pick>. Take a look at the section "One Request, One of Two Possible Responses" in chapter 13 of the bpel developer guide.

  • Printing different/selective files with different copies

    Hi everyone,
    I've been working on finding a solution, on how to print different pdf files with different copies, without opening the pdf-files.
    Task:
    I have a folder, with 25 pdf files
    I want to make a php overview, of the folder
    At the end of each line/file - i would like to add a number for the copies
    In the end, I would like to simply press print - and every document ive added a number/copies to - are being printet...
    I guess I need to use PrintPDF - but does anyone know any pre-made program/function - that could handle the "copies" part...?
    I hope someone can help me out,
    Thanks
    Jan

    Well, i had hoped that the acrobat could open silent - eventhough they've removed that feature in the newer versions.
    Even though the program would open - if the amount of copies was added - and i just hat to press print - it would ease the job alot.

Maybe you are looking for

  • How do i keep my wife's iphone and mine separate when syncing?

    my wife and i just bought 2 3Gs iphones yesterday. when i synced them, my account (the master account) had all my info on her phone as well as mine. how do i keep them separate? this is what i have i done so far. -created family pack w/ mobile me and

  • Why does my cursor jump from photoshop window to the file window im working on

    I started experiencing this following problem when I upgraded my macbook pro to Lion OS When I open PhotoShop CS4, I open a new file and the window appears so I could start working, but then I move the cursor to the white or "gray and white checker"

  • T520i Sound problem (real-time audio)

    I`m using my Lenovo T520i i7-2630QM with 8GB Ram for my DJ needs.But i have  pops, hisses, crackles and pauses. I disabled the wireless adapter in order to get better results and it`s working but in every 15 min or 30min there is crackles and pops.I`

  • What authorization required to post idoc from XI via RFC?

    Hi all, I need to post idoc to SAP R/3 system from XI. I have done all the steps correctly. While creating RFC in XI system to connect to the R/3 system, intially I gave my R/3 username and password and tested teh connection. Everything was working f

  • Goods issue for the CO Order

    Hello everybody. I have some problems in issuing goods for the CO order(moving type 261) in MIGo transaction. Message no. C6001          "Order XXXXXXX not found or not permitted for goods movement" Please, help me..... Thanks in advance P.S. I am a