Forum List | Message List | Search |
Another solution for Hamsphere Graphic problems
2009-11-28 00:23 |
Moderator Registered: 15 years ago Posts: 437 |
A few users have tried this and it worked..... Check it out.
|
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 00:35 |
Admin Registered: 16 years ago Posts: 1,061 |
This is a great video. These video instructions are really good and easy to follow.
I think however that the graphic bugs have been fixed since version 2.0.12. or something. Can you confirm this Jerry? Thanks Kelly N1TKO Wrote: ------------------------------------------------------- > A few users have tried this and it worked..... > Check it out. > > Click HERE to watch Video |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 00:59 |
Moderator Registered: 15 years ago Posts: 437 |
Yes, I believe the problem has been fixed. I haven't heard anyone with graphics problem since the new version came out. Good job....
Jerry - N1TKO |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 08:39 |
Registered: 16 years ago Posts: 28 |
The new Hamsphere works great on the primary screen but transparency doesn't work if you move the program to the second screen on a dual monitor setup.
73 Bruce ![]() |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 15:39 |
Moderator Registered: 15 years ago Posts: 437 |
Hello Bruce
Welcome to Hamsphere. Thanks for that info. I'm curious about that because I run 2 monitors and Hamsphere works the same on either. I'm wondering if you have the exact same screen resolution on both monitors? If you figure it out, please share it with us as some others may be having the same problem. 73 Jerry - N1TKO |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 21:21 |
Registered: 16 years ago Posts: 28 |
Hello Jerry,
Not sure why this happens as I have exactly the same settings on both screens. My set up is Windows 7 Home Premium x64 into 2 x 22" ViewSonic LCDs at 1680 x 1050. Hamsphere works fine on screen 1 but if I move it to screen 2 then the area around the program turns white where it should be transparent. My video card is an ATI Radeon HD 4850 with the latest drivers. The only difference between the two monitors is that screen 1 is connected via VGA (analog) whereas screen 2 is via DVI (digital). When I swap the primary display to DVI it does not display correctly therefore I suspect that DVI is the cause of the problem. Can anybody else confirm that it works ok when using a DVI connection. rgds Bruce ![]() |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 21:33 |
Moderator Registered: 15 years ago Posts: 437 |
Hey Bruce.... Well that is a new one. I kind of have the feeling it may have something to do with the Win 7 transparency thing. You know how you can change the transparency....
I'm going to search online and see if I can find something. I'm sure you aren't the only person this has happened to so there has to be something online. I'll get back to you. Jerry - N1TKO |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-05 21:43 |
Moderator Registered: 15 years ago Posts: 437 |
Bruce.... I Googled "win 7 transparency problem with 2 monitors" and got a slew of interesting stuff. You may want to try it and see if the answer is there. I'm still going through them and if I find something, I'll let you know.
Jerry - N1TKO |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-11 08:49 |
Registered: 15 years ago Posts: 33 |
Hello everyone!
I use ubuntu linux and there are some problems with Hamsphere. Hamsphere's window does not rectanfular, it is "radio shaped" :) This is achieved by taking a snapshot of the screen and pasting it on the window than drawing the user interface. The problem with this is that the current solution is slow, takes up a lot of CPU power just to look good (and it looks good indeed ;) ). The other problem is that it's buggy: 1. When moving the window, the background of it is slipping and blinking so it still eats the CPU, and doesn't look good. 2. It continuously grabs focus. I cannot use any program when Hamsphere is running, because when focus is transferred to an other window, Hamsphere steals it back immediately. 3. It does not work under XUbuntu (xfce). I don't know if this is the result of the frequent background painting-and-focus-grabbing, but it is a possibility. This bug is probably hard to fix becouse you have to use a whole different method for transparency, and may users are still satisfied with Hamspheres's GUI, so the best solution may be to provide a way to switch off the background painting. If you choose to fix the problem completely, I can give you a hint: http://java.sun.com/developer/technicalArticles/GUI/translucent_shaped_windows/ I tried it, and it works. |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-11 16:52 |
Admin Registered: 16 years ago Posts: 1,061 |
Hi 109HS443.
You are absolutely correct in your graphic observation about the snap shot. I have tried the Translucent windows too. They work. They way I did it was the workaround stolen from some example, because I had major problems getting the transparency work in Swing: package com.lindman.hamsphere; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.awt.Point; import java.awt.Rectangle; import java.awt.Robot; import java.awt.Toolkit; import javax.swing.JComponent; import javax.swing.JFrame; public class TransparentBackground extends JComponent { // private JFrame frame; private Image background; static final long serialVersionUID = 0; public TransparentBackground(JFrame frame) { // this.frame = frame; updateBackground( ); } public void updateBackground( ) { try { Robot rbt = new Robot( ); Toolkit tk = Toolkit.getDefaultToolkit( ); Dimension dim = tk.getScreenSize( ); background = rbt.createScreenCapture( new Rectangle(0,0,(int)dim.getWidth( ), (int)dim.getHeight( ))); } catch (Exception ex) { System.out.println(ex.toString( )); ex.printStackTrace( ); } } public void paintComponent(Graphics g) { Point pos = this.getLocationOnScreen( ); Point offset = new Point(-pos.x,-pos.y); g.drawImage(background,offset.x,offset.y,null); } } You seem to have java knowledge. Perheps we can have a sesssion to fix this. I am on MSN, You? 73 Kelly |
|
Re: Another solution for Hamsphere Graphic problems
2009-12-11 20:13 |
Registered: 15 years ago Posts: 33 |
My MSN is giganetom@gmail.com so as my regularly checked mail box. | |
Re: Another solution for Hamsphere Graphic problems
2009-12-25 06:32 |
Registered: 15 years ago Posts: 1 |
This doesn't work for me. I'm running Windows 7 64-bit. I just get a blank box in the upper left corner of my monitor. Switching compatibility to Windows XP (SP3 or SP2) doesn't work. | |
Sorry, only registered users may post in this forum.
© HamSphere AB, All Right Reserved.