TreeView with mixed cell types

I would like to create a TreeView where some cells are CheckBoxTreeCells and
some aren't. My application domain is a medical search engine where we'd like
to have researcher query a dataset by selecting one or more values. Here's a
simple example:
public class CheckBoxTreeSample extends Application {
    public static void main(String[] args) {
        launch(args);
    @Override
    public void start(Stage primaryStage) {
        primaryStage.setTitle("CheckBoxTree Attempt");
        TreeItem<String> rootItem = new TreeItem<>("Dataset root");
        rootItem.setExpanded(true);
        final TreeView tree = new TreeView(rootItem);
        final TreeItem<String> testResultsItem = new TreeItem<>("Test Results");
        rootItem.getChildren().add(testResultsItem);
        testResultsItem.setExpanded(true);
        final CheckBoxTreeItem<String> normalTreeItem = new CheckBoxTreeItem<>("Normal");
        testResultsItem.getChildren().add(normalTreeItem);
        final CheckBoxTreeItem<String> abnormalTreeItem = new CheckBoxTreeItem<>("Abnormal");
        testResultsItem.getChildren().add(abnormalTreeItem);
        final CheckBoxTreeItem<String> preTreeItem = new CheckBoxTreeItem<>("PreCancer");
        testResultsItem.getChildren().add(preTreeItem);
        final CheckBoxTreeItem<String> cancerTreeItem = new CheckBoxTreeItem<>("Cancer");
        testResultsItem.getChildren().add(cancerTreeItem);
        tree.setCellFactory(CheckBoxTreeCell.<String>forTreeView());
        tree.setRoot(rootItem);
        tree.setShowRoot(true);
        StackPane root = new StackPane();
        root.getChildren().add(tree);
        primaryStage.setScene(new Scene(root, 300, 250));
        primaryStage.show();
}So I'd like to have the testResultsItem and the rootItem NOT have checkboxes (which is why they are TreeItems), but have the leaf nodes be independent
CheckBoxTreeItems. I tried this alternate factory, but that only seems to control the Boolean Property:
        tree.setCellFactory(CheckBoxTreeCell.<String>forTreeView(new Callback<TreeItem<String>, ObservableValue<Boolean>>() {
          @Override
          public ObservableValue<Boolean> call (TreeItem<String> item) {
            if (item instanceof CheckBoxTreeItem) {
              return new ReadOnlyBooleanWrapper(Boolean.TRUE);
            } else {
              return null; //Don't display an CheckBox - obviously doesn't work...
        }));I recently saw this posting by Jonathan Giles:
http://fxexperience.com/2012/05/listview-custom-cell-factories-and-context-menus/
but I'm not sure how that might apply to this case.
Any help in determining how to remove, or at least disable, non-leaf node checkboxes would be greatly
appreciated!

Something like this:
public class CheckBoxTreeSample extends Application {
  public static void main(String[] args) {
    launch(args);
  @Override
  public void start(Stage primaryStage) {
    primaryStage.setTitle("CheckBoxTree Attempt");
    TreeItem<String> rootItem = new TreeItem<String>("Dataset root");
    rootItem.setExpanded(true);
    final TreeView<String> tree = new TreeView<String>(rootItem);
    final TreeItem<String> testResultsItem = new TreeItem<String>(
        "Test Results");
    rootItem.getChildren().add(testResultsItem);
    testResultsItem.setExpanded(true);
    final CheckBoxTreeItem<String> normalTreeItem = new CheckBoxTreeItem<String>(
        "Normal");
    testResultsItem.getChildren().add(normalTreeItem);
    final CheckBoxTreeItem<String> abnormalTreeItem = new CheckBoxTreeItem<String>(
        "Abnormal");
    testResultsItem.getChildren().add(abnormalTreeItem);
    final CheckBoxTreeItem<String> preTreeItem = new CheckBoxTreeItem<String>(
        "PreCancer");
    testResultsItem.getChildren().add(preTreeItem);
    final CheckBoxTreeItem<String> cancerTreeItem = new CheckBoxTreeItem<String>(
        "Cancer");
    testResultsItem.getChildren().add(cancerTreeItem);
    // tree.setCellFactory(CheckBoxTreeCell.<String>forTreeView());
    tree.setCellFactory(new Callback<TreeView<String>, TreeCell<String>>() {
      @Override
      public TreeCell<String> call(TreeView<String> param) {
        return new TreeCell<String>() {
          @Override
          public void updateItem(String item, boolean empty) {
            super.updateItem(item, empty);
            if (empty) {
              setText(null);
              setGraphic(null);
            } else {
              TreeItem<String> treeItem = getTreeItem();
              if (treeItem instanceof CheckBoxTreeItem) {
                CheckBoxTreeItem<String> cbTreeItem = (CheckBoxTreeItem<String>) treeItem;
                setText(item.toString());
                CheckBox cb = new CheckBox();
                cb.indeterminateProperty().bindBidirectional(
                    cbTreeItem.indeterminateProperty());
                cb.selectedProperty().bindBidirectional(
                    cbTreeItem.selectedProperty());
                setGraphic(cb);
              } else {
                setText(item.toString());
                setGraphic(null);
    tree.setRoot(rootItem);
    tree.setShowRoot(true);
    StackPane root = new StackPane();
    root.getChildren().add(tree);
    primaryStage.setScene(new Scene(root, 300, 250));
    primaryStage.show();
}I haven't tested this out much but it seems to work. There might be an easier way but I don't see it.

Similar Messages

  • Best practice dealing with mixed footage types

    I will soon embark on my first proper FCP project. The film will be shot at the end of the week on a Sony PMW-EX1 in 1080p25. We already shot some footage a few weeks ago, alas this was mistakenly shot interlaced 1080i50. What would be the best way to go about combining these two sets of footage? Should I de-interlace the 1080i50 stuff first or just drop it all into the timeline and allow FCP to deal with it?

    OK, I found a better solution.Future<String> errString = executorService.submit(
        new Callable<String>() {
            public String call() throws Exception {
                StringWriter errWriter = new StringWriter();
                IOUtil.copy(process.getErrorStream(), errWriter, "UTF-8");
                return errWriter.toString();
    int exitValue = process.waitFor();
    getLog().info("exitValue = " + exitValue);
    try {
        getLog().info("errString =\n" + errString.get());
    } catch (ExecutionException e) {
        throw new MojoExecutionException("proxygen: ExecutionException");
    } The problem I was having before seemed to be that the call to Apache's IOUtil.copy(errorStream, errWriter, "UTF-8"); was not working right, it did not seem to be terminating on EOS. But now it seems to be working fine, so I must have been chasing some other problem (or non-problem).
    So, it does seem the best thing to do is read the error and output streams from the process on their own daemon threads, and then call process.waitFor(). The ExecutorService API makes this easy, and using a Callable to return a future value does the right thing. Also, Callable is a little nicer as the call method can throw an Exception, so my code does not need to worry about that (and the readability is better).
    Thanks for helping to clarify my thoughts and finding a good solution :-)
    Now, it would be really nice if the Process API had a method like process.getFutureErrorString() which does what my code does.
    Cheers, Eric

  • DLL interfacing with mixed value and reference types

    I'm currently trying to work with a supplied DLL.
    I have header files and all, and the DLL import wizard does a decent job of importing the DLL functions but there are some data types which simply can't be handled.
    The DLL requires usage of a data type which is a struct with value and reference data types.  I could theoretically replace the references with simple U32s but much of the required information in the data is in the data structures referenced by the pointers.
    How do I go about implementing this seeing how I need to be able to pass the data back into the DLL in its original form (value and reference types).
    I have something like the following:
    struct Item {
    Int Device,
    *Item Next
    *Item Previous
    *Data Datastruct
    I have downloaded the WDK from Microsoft, have CVI and Visual Studio 2008 available.  I'm not very experienced at this end of things...   I can deal with Structs with pure value types but how do I get at the data in the reference types?
    I strongly suspect I need a wrapper DLL, but how is the best way to go about this?
    Shane.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant
    Solved!
    Go to Solution.

    Hi Shane,
    To be honest, I don't understand why you have to pass the ENTIRE structue (if it's "Item" structure. The pointer to the next and the previous item should be held and manituplated in the DLL, doesn't it?
    Operate within classes....
    Are you talking about Labview Classes? I didn't use it yet. Sorry.
    Convert Linked List to Array You can't store all elements by value in a cluster, because it's kind of recursive. The next pointer leads to the same Item structure (with it's own next pointer. If it's a circulary-linked-list it will never stop)
    Or did you mean to store the pointers as a U32 value? That should work.
    Output the struct as a binary blob Yes, why not ! But that lets me assume you don't know the concrete "Datastructure" ?!
    I'm honest again I can't see the important information you mentioned if you pass the Data structure as a binary blob.
    Read-only is a very good idea. If you don't need to tweak the pointers in the list you should avoid it.
    Balze

  • Tree view with editable cells?

    Hi,
    I have written a GTK+-2 based graphical visualizer for the NEC2 antenna simulation and analysis tool http://www.qsl.net/5b4az/pages/nec2.html and I am now considering a companion graphical editor for the NEC2 input file. This file is normally produced with a text editor and specifies antenna geometry and then commands to calculate various data regarding antenna characteristics (gain, input impedance etc).
    Luckily the original NEC2 was written in FORTRAN and the input was punched cards with a fixed format, so the current file format is line-based and with a fixed number of parameters per line: you can get an idea by looking into examples files in http://www.qsl.net/5b4az/pkg/nec2/examples/
    What I need is an idea on how to code a graphical line editor with editable cells for each parameter and the ability to add or delete lines as needed. The data in the cells may be numerical or textual or both and there may be inter-relations between cells, e.g. one cell may have a value that is a fixed proportion of another cell's value etc.
    Tips please? Thanks!

    tranquility wrote:
    Well, just about any language with bindings for gtk will work in a very similar manner. If I understand correctly, you might want to investigate the GTK treeview and GTK CellRenderer classes. Try to check the tutorials too.
    Hope this helps.
    Yes, thanks! Unfortunately though there is no easy way to have a spin button type editable cell, which would have been best for my needs. However, I found an example in a tutorial for the TreeView which could make a basis for a home brew second-best solution! 

  • Word 2007 mail merge : problem with mixed portrait and landscape orientations

    Hi there,
    I have a 3 pages document Word 2007 file
    This is a mail merge I want to export in PDF using Adobe Acrobat Printer,
    then send "big" PDF to printing.
    page 1 is PORTRAIT
    page 2 is PORTRAIT
    page 3 is LANDSCAPE
    In PDF pages 1 and 2 are perfectly fine, inside an A4 format (width=210 height=297mm or something)
    but for page 3, system changed to a "double" sized page (A3 width=297 height=420) and printed my stuff at the 1st top middle of big page.
    So I have a big "double" sheet, oriented PORTRAIT, with my stuff in 1st half, and a blank in 2nd half.
    It seems that system did not rotate the page... and just put the stuff into a bigger sheet to "solve" at best.
    I would like the same size of paper (A4) but in landscape : width=297 height=210
    I have already seen many PDF with mixed portrait and landscape orientations, so what's the thing ?
    With my advanced thanks,
    And greetings from Paris, France !
    Vince

    Some questions:
    Which version of office were you using before? 2003?
    Are the data files on a network, or on your local machine? If they are on a network, can you make a copy of one of them on your local machine and try again?
    Can you open the files directly in Excel? What extension do they have (.xls, or something else?) I am wondering whether access to other file types has been left blocked on your machine but is allowed on your colleague's machine.
    Are you just opening the mail merge main document and seeing this message? If so, do you see the same thing if you start with a new document and try to connect to one of these data sources?
    Can you confirm that the message is about Access even though you are trying to connect to an Excel file?
    (Also, office 2007 has some new stuff - that let's you specify that certain folders are "trusted" . I don't think that ever affected MailMerge but it may be as well to make sure that your documents and data sources are in trusted locations).
    Also worth trying to start Word in "Safe mode" - see, e.g. http://office.microsoft.com/en-gb/word-help/work-with-office-safe-modes-HP010140792.aspx
    Peter Jamieson

  • Mixing graph types

    Hi Experts,
        I have a requirement to show two graph types. One as background another for representing data in foreground.
            For the graph to show background; the color bounds must be shown vertically and for that i am using Chart Type Stacked Bar. But in order to show Data in foreground, i need to use Column chart, which is not coming as a supporting type to Default Series. How can i solve this problem?
    Direction of Stacked Bar Chart            ->
    Direction of Column Chart                    ^
    Regards
        vinod.

    Hi,
    It depends on how you are going to use this data. There are some GIS systems which do not allow mixed geometry type in a single table.
    There are some performance gains that can be gained if you keep your points separate but only if you have large numbers of records.
    I have tables with combinations of geometry type and it works for me.
    Regards.
    Ivan

  • Some chart types cannot be combined with other chart types

    Good morning,
    I am working on a MacBook Air (purchased Oct 2009) running Lion. While working in Excel 2011, I encounter the error "Some chart types cannot be combined with other chart types. Please select a different chart type." I am highlighting 46 cells to create a marked line graph. There are no other charts in the file. I called Microsoft support who told me they had not heard of this problem in Excel (only in PowerPoint). I also took it to an Apple Store Genius, who was unable to solve the problem, which is understandable, given that he does not work for Microsoft.
    To try to resolve this issue, I have recopied the data to a new spreadsheet, re-typed all the data to a new spreadsheet, and deleted plist files. When I sent it to a different computer (which was running Excel 2011 and Snow Leopard), I could make the figure but I cannot edit the figure or add data on my laptop.
    Any suggestions that you have would be much appreciated,
    Signed,
    One stressed out PhD student who desperately needs Excel to work

    Hi, folks.
    Apparently, when using Excel 2011 and running Lion, if the tab names in excel contain a period (.), this error occurs. I removed the periods and now I can graph again. I hope this helps anyone else who may experience this problem.

  • CK727 -Lot size cannot be passed on in combination with mixed costing

    I get below error.
    We have KMAT materials and scenario  is Non Valuated Sales Order Stock.
    in our PPC4 - we have below settings. (Both are SAP recommended)
    Qty Structure tab we have Pass on Lot size "1" with individual requirements (must of Non Valuated Sales) and
    Transfer Control "PC03" has "Current Std Cost" with "Transfer only with Collective requirements"
    I just created a mixed cost qty structure. In it I even added Costing type "01". Sales order costing type is "18".
    Mixed costing works as expected. However we are unable to create any Sales Orders.
    Lot size cannot be passed on in combination with mixed costing
    Message no. CK727
    Diagnosis
    For costing variant PPC4 and costing version 01, it was defined in Customizing that a mixed cost estimate should be created for quantity structure category M0001. At the same time, it was defined in the costing variant that the Pass_on_lot_size function should be active.
    System Response
    Mixed costing cannot be carried out simultaneously with Pass on lot size . Costing cannot be proceeded with.
    Any help is appreciated.

    Hi Kala,
    system's response is correct
    In the standard program the combination of mixed costing and
    simultaneously pass on lot size is not possible.
    Please review SAP Notes 402440, 584420 and 749128 .
    In particular the SAP Note 402440 describes the determination of the
    costing lot size at a mixed costing in detail.
    br, Guido

  • Goods Receipt Report With 101 movement type using bapi_goodsmvt_create

    Dear Abapers,
            i am getting some problem, i got requirement like Goods Receipt Report with 101 movement type using
    bapi_goodsmvt_create and data should upload through excel sheet.
    still facing problems, i have searched sdn forum n sdn code also, but relevant answer i could not find.
    What are all the inputs i need to take and please give some valuable inputs to me.
    please do help ..... thanks for advance..
    Thanks & regards,
    Vinay.
    Moderator message : Spec dumping is not allowed, show the work you have already done. Thead locked.
    Edited by: Vinod Kumar on Sep 27, 2011 10:58 AM

    Dear Abapers,
            i am getting some problem, i got requirement like Goods Receipt Report with 101 movement type using
    bapi_goodsmvt_create and data should upload through excel sheet.
    still facing problems, i have searched sdn forum n sdn code also, but relevant answer i could not find.
    What are all the inputs i need to take and please give some valuable inputs to me.
    please do help ..... thanks for advance..
    Thanks & regards,
    Vinay.
    Moderator message : Spec dumping is not allowed, show the work you have already done. Thead locked.
    Edited by: Vinod Kumar on Sep 27, 2011 10:58 AM

  • A question about a method with generic bounded type parameter

    Hello everybody,
    Sorry, if I ask a question which seems basic, but
    I'm new to generic types. My problem is about a method
    with a bounded type parameter. Consider the following
    situation:
    abstract class A{     }
    class B extends A{     }
    abstract class C
         public abstract <T extends A>  T  someMethod();
    public class Test extends C
         public <T extends A>  T  someMethod()
              return new B();
    }What I want to do inside the method someMethod in the class Test, is to
    return an instance of the class B.
    Normally, I'm supposed to be able to do that, because an instance of
    B is also an instance of A (because B extends A).
    However I cannot compile this program, and here is the error message:
    Test.java:16: incompatible types
    found   : B
    required: T
                    return new B();
                           ^
    1 errorany idea?
    many thanks,

    Hello again,
    First of all, thank you very much for all the answers. After I posted the comment, I worked on the program
    and I understood that in fact, as spoon_ says the only returned value can be null.
    I'm agree that I asked you a very strange (and a bit stupid) question. Actually, during recent months,
    I have been working with cryptography API Core in Java. I understood that there are classes and
    interfaces for defining keys and key factories specification, such as KeySpec (interface) and
    KeyFactorySpi (abstract class). I wanted to have some experience with these classes in order to
    understand them better. So I created a class implementing the interface KeySpec, following by a
    corresponding Key subclass (with some XOR algorithm that I defined myself) and everything was
    compiled (JDK 1.6) and worked perfectly. Except that, when I wanted to implement a factory spi
    for my classes, I saw for the first time this strange method header:
    protected abstract <T extends KeySpec> T engineGetKeySpec
    (Key key, Class<T> keySpec) throws InvalidKeySpecExceptionThat's why yesterday, I gave you a similar example with the classes A, B, ...
    in order to not to open a complicated security discussion but just to explain the ambiguous
    part for me, that is, the use of T generic parameter.
    The abstract class KeyFactorySpi was defined by Sun Microsystem, in order to give to security
    providers, the possibility to implement cryptography services and algorithms according to a given
    RFC (or whatever technical document). The methods in this class are invoked inside the
    KeyFactory class (If you have installed the JDK sources provided by Sun, You can
    verify this, by looking the source code of the KeyFactory class.) So here the T parameter is a
    key specification, that is, a class that implements the interface KeySpec and this class is often
    defined by the provider and not Sun.
    stefan.schulz wrote:
    >
    If you define the method to return some bound T that extends A, you cannot
    return a B, because T would be declared externally at invocation time.
    The definition of T as is does not make sense at all.>
    He is absolutely right about that, but the problem is, as I said, here we are
    talking about the implementation and not the invocation. The implementation is done
    by the provider whereas the invocation is done by Sun in the class KeyFactory.
    So there are completely separated.
    Therefore I wonder, how a provider can finally impelment this method??
    Besides, dannyyates wrote
    >
    Find whoever wrote the signature and shoot them. Then rewrite their code.
    Actually, before you shoot them, ask them what they were trying to achieve that
    is different from my first suggestion!
    >
    As I said, I didn't choose this method header and I'm completely agree
    with your suggestion, the following method header will do the job very well
    protected abstract KeySpec engineGetKeySpec (Key key, KeySpec key_spec)
    throws InvalidKeySpecException and personally I don't see any interest in using a generic bounded parameter T
    in this method header definition.
    Once agin, thanks a lot for the answers.

  • Why is it that when I try to open a project, it says "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type"?

    It could be opened last night but today it just kept showing "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type". I really need to access my video.
    Some help out there, please?

    Hi,
    Please check this out : https://forums.adobe.com/message/4626663#4626663#4626663
    Thank You
    Arjun

  • FI postings with mixed debit/creidt amounts

    Hi Friends,
    We have a custom build program to extract data and post FI document.
    In some cases after extraction we have a data with mixed DC/LC and LC2 amounts in different signs thats is debit/debit/credit amounts. Example ( Document currency as +100$, local currency as +100$ and group currency as -10$)
    Any idea how we control in our custom program to split this into posting key specific fi lines? Is there any standard function modules or procedure to follow?
    Let me know if you need more details?
    Thanks in Advance.
    Manohar

    Any suggestions please...
    I can think of splitting lines into two with 40/50 posting keys in case of this scneario's. Does it have any implecations?

  • Restriction of GR & IR for PO with specific document type

    Hi,
    How we can restrict doing Goods Receipt & Invoice Receipt for a Purchase order, instead they do the payment directly for the Purchase order item in FI. We need to restrict GR & IR for PO with particular document type.
    Regards,
    Srinivas

    Hi,
    Yes i do feel the same. Normally if a PO is created means system expects a GR and and IR .If you do not expect the ir means it is a free entry.
    But however you can control the GR / IR through account assignment .please check the account assignment definition at SPROMMPUR-Account assignment-AAcategory.
    Once the PO is created with account assignment the procurement is for consumption  (non stock)
    if it is a stocked procurement system will check the GR/IR indicator in the PO.
    When a PO is created in MM module and the cycle is not completed , it will always show as open PO.I think the context for FI direct posting will be differrant.
    Regards,

  • How can I print a file with mixed page orientation in windows 8.1?

    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How to insert data in a column with uniqueidefier data type

    Guys,
    I need insert data in a column with uniqueidefier data type, when i am trying to that getting error.
    error message says: "Conversion failed when converting from a character string to uniqueidentifier."
    I have data in table a col1,col2,col3,col4 - col3,col4 has datatype as varchar and i am updating table b columns col1,col2 with table a col3 and col4.
    Please guide how to do it.

    Hi,
    Not any String can be convert to uniqueidentifier.
    1. you have to make sure u use a value which is fir to be uniqueidentifier
    2. Use convert or cast in the insert query in order to convert the string into uniqueidentifier
    insert X ... convert(uniqueidentifier, 'string which fit to be convert to uniqueidentifier')
    Please post DDL+DML for more specific help
    DDL = Data Definition Language. In our case that is, CREATE TABLE statements for your tables and other definitions that are needed to understand your tables structure and there for let us to test and reproduce the problem in our server. Without DDL no one
    can execute any query.
    How to get DDL: Right click on the table in Object Explorer and select script table as CREATE. Post these create table scripts here.
    DML = data manipulation language is a family of queries used for manipulating the data it self like: inserting, deleting and updating data. In our case we need some sample data in order to check the query and get result, so we need some indert query for
    sample data.
    If you post a "create query" for the tables and "insert query" with some sample, then we could help you without Assuming/Guessing. There is a reason that DDL is generally asked for and expected when discussing query problems - it helps
    to identify issues, clarify terminology and prevent incorrect assumptions.  Sample data also provides a common point of reference for the discussion. A script that can be used to illustrate or reproduce the issue you have, will encourage others to help.
    [Personal Site] [Blog] [Facebook]

Maybe you are looking for

  • Connecting mid-2007 iMac to LG TV via mini dvi to HDMI

    I am trying to connect my mid-2007 iMac to my 42" LG HDTV to no avail. I am running iOS 10.6 Snow Leopard. I bought the mini dvi to HDMI adapter and plugged the iMac into the TV. I went to the display tab in the system settings and see that the iMac

  • How do i make this page adapt to all screen sizes???

    if i copy and paste my index code can someone please tell me if theres anything i can add so it will adapt to all screen sizes?? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  • How to send XML via HTTPS in Servlet

    I am new to Java. I need to make a servlet which can send a message via HTTPS with a content type of XML to another web server when it is called. each msg is proceeded with a header in the following format: requestID=rid&userID=uid&password=mypd and

  • How to create generic text datasource to load text data?

    met issue in generic master data load Hi, please see above link for detail infomation regarding the attribute data load. now the language and description column of the infoobject s_saled is empty. i need to create a generic text datasource to load da

  • HDMI stuttering

    Have had older Mac Mini as center of my home media center. had older Mac Mini connected to amp/receiver using DVI out, connected to HDMI converter, and then HDMI into the receiver. worked perfectly, but sound like to go through another route. worked