icons

resize required to view images in java applet

早过忘川 提交于 2019-12-25 04:36:07
问题 I'm working with java images for the first time and having a problem viewing them when the applet loads. If I resize the window they display fine. I feel like this is a common first-timer error. Has anyone else encountered this? Any idea what the fix could be? What I believe to be the pertinent parts of the code are listed below. Thanks for any and all help with this... import java.applet.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.swing.*; import java

How to create a IconHandler used by the shell in c++?

别说谁变了你拦得住时间么 提交于 2019-12-25 04:14:40
问题 I tried to code an icon handler in c++ but i have some issues to do this. I followed the turoriel from codeproject The difference with this tutorial is i wanna code my dll with an ATL project from the wizard of visual studio (2013). So i create a new ATL project and i had a COM +1 class to this project (this the code of the header). The problem is it seams that my dll is attach but is detach right after. I'll put some code and more explication bellow : extern "C" BOOL WINAPI DllMain(HINSTANCE

How would you change your programs Icon instead of the default java icon

≡放荡痞女 提交于 2019-12-25 03:44:32
问题 This shows the icon when I launch through eclipse, but when I export it to a Runnable Jar It shows the default Java icon, I do not want to use the Resource way of doing it since it doesn't work in the IDE even. public static void main(String args[]) { Game component = new Game(); ImageIcon img = new ImageIcon("res/game.png"); JFrame frame = new JFrame(); frame.add(component); frame.setTitle(NAME); frame.setIconImage(img.getImage()); frame.setResizable(false); frame.setLocationRelativeTo(null)

TYPO3 FluidTYPO3: Missed Flux Icons for Content Elements at TYPO3 Backend

大憨熊 提交于 2019-12-25 03:41:42
问题 Hi I'm using TYPO3 CMS 6.2.14 with FluidTYPO3 ( flux 7.2.2 , fluidcontent 4.3.2 and vhs 2.3.3 ). Since the last few TYPO3 installations my Icons for Fluidcontent-Elements are missing in Backend?! I've didn't change the path or sth. else. Here are my tries, nothing works: <flux:form id="fce6" icon="../typo3conf/ext/mytemplates/Resources/Public/Icons/Content/Icon.gif" wizardTab="FCE" options="{Fluidcontent: {sorting: 106}}"> ... <flux:form id="fce6" options="{Fluidcontent: {sorting: 105}, group

Using Tkinter command “iconbitmap” to set window icon

末鹿安然 提交于 2019-12-25 03:39:29
问题 I have a program with Tkinter window and I want to set an icon for the window. I coded this: okno.iconbitmap(os.path.dirname(os.path.abspath(__file__))+"/icon.png") but it writes: Traceback (most recent call last): File "Alchymist_lab.py", line 241, in <module> okno.iconbitmap(os.path.dirname(os.path.abspath(__file__))+"/icon.png") File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1591, in wm_iconbitmap return self.tk.call('wm', 'iconbitmap', self._w, bitmap) _tkinter.TclError: bitmap "/home

Adding custom svg icons Angular

ⅰ亾dé卋堺 提交于 2019-12-25 01:32:52
问题 I would like to know how i can add customs svg icons to a mdi.svg file that i have. The file already have some icons, but i need to put new ones in there. here is a sample of the mdi.svg <svg><defs><g id="access-point"><path d="M4.93,4.93C3.12,6.74 2,9.24 2,12C2,14.76 3.12,17.26 4.93,19.07L6.34,17.66C4.89,16.22 4,14.22 4,12C4,9.79 4.89,7.78 6.34,6.34L4.93,4.93M19.07,4.93L17.66,6.34C19.11,7.78 20,9.79 20,12C20,14.22 19.11,16.22 17.66,17.66L19.07,19.07C20.88,17.26 22,14.76 22,12C22,9.24 20.88,6

What is this Android folder icon with a set of three vertical bars in the lower right corner?

不打扰是莪最后的温柔 提交于 2019-12-24 23:35:53
问题 Preface This question is different from What is this Android fodler icon with a small yellow circle in the lower right corner? because I am asking about a different icon. I split these up into their own questions because of this answer to a meta question Background I am trying to find the formal name for this folder icon() that appears next to what seems to be helper libraries. I have looked in the following documentation: The IntelliJ Icon Reference Under Android Studio > Preferences >

Icon not displayed on Firefox OS Simulator

纵然是瞬间 提交于 2019-12-24 20:25:53
问题 I just started developing applications for firefox OS. I done a sample application and it is working perfectly. My issue is in my simulator my application Icon is not displayed. It uses the default icon. I added the below code in my manifest file: "icons": { "128": "Feed.png" } Added a 128 x 128 image named Frrd.png to my directory. But it is not working for me, what can be the issue ? 回答1: First Answer: Finally I got it. For Firefox OS the icon size should be of size 30 X 30 or 60 X 60 . For

Qt 5.4 cannot set app icon on OSX

狂风中的少年 提交于 2019-12-24 16:55:11
问题 I'm having issues with setting an app icon when using Qt 5.4. I followed what this page says: http://doc.qt.io/qt-5/appicon.html#setting-the-application-icon-on-os-x but nothing works. When browsing .app's contents, there's not even a .plist file! Am I doing something wrong? Edit: adding .pro file QT += core gui multimedia greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = Congolexicomatiseur TEMPLATE = app SOURCES += main.cpp\ dialog.cpp \ clickablehollowlabel.cpp \ about.cpp \

stylesheet link rel and shortcut icon link rel override each other so I cannot use my stylesheet and icon at the same time

和自甴很熟 提交于 2019-12-24 16:25:08
问题 Here is my problem, I have 2 link rel tags in my html index header. One tag is for my stylesheet the other is a shortcut icon link rel to use a icon in my browser tab (fyi using FF19). <link rel="shortcut icon" href="tophat2.ico"/> <link rel="stylesheet" type="text/css" href="style.css"/> Each rel link works fine on its own. when I have them one after another though the one on the bottom (being parsed second) is the only one that is displayed however. They appear to be overriding eachother so