NativeView.java (a893be29) | NativeView.java (796b7e2a) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 53 unchanged lines hidden (view full) --- 62 63 // ____________________ 64 65 /** 66 * Overload this method to make necessary initializations here. 67 * (e.g. get the window handle and necessary system informations) 68 * 69 * Why here? | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 53 unchanged lines hidden (view full) --- 62 63 // ____________________ 64 65 /** 66 * Overload this method to make necessary initializations here. 67 * (e.g. get the window handle and necessary system informations) 68 * 69 * Why here? |
70 * Because the handle seams to be available for already visible windows | 70 * Because the handle seems to be available for already visible windows |
71 * only. So it's the best place to get it. Special helper method 72 * can be called more then ones - but call native code one times only 73 * and safe the handle and the system type on our members maHandle/maSystem! 74 */ 75 public void setVisible(boolean bState) 76 { 77 getHWND(); 78 } --- 93 unchanged lines hidden --- | 71 * only. So it's the best place to get it. Special helper method 72 * can be called more then ones - but call native code one times only 73 * and safe the handle and the system type on our members maHandle/maSystem! 74 */ 75 public void setVisible(boolean bState) 76 { 77 getHWND(); 78 } --- 93 unchanged lines hidden --- |