icons

Does Java have any known issues with Images and displaying them

懵懂的女人 提交于 2019-12-12 05:27:58
问题 I am new to Java but not new to graphics I'm trying to expand my understanding with a project in which I'm displaying many photos of items using JLabels and Icons to display them, The items pictures are garnished from various locations on the net and so many sources. I've converted these into PNG files as they have transparent backgrounds to them. Thing is I wasted a whole weekend recently checking and re-checking some code because one item just would not display, following the logic to its

Change File Icon in windows using Java

十年热恋 提交于 2019-12-12 05:08:40
问题 Project Name: File Marker I personally organize my folders using "Folder Marker". It gives me option to change the folder icon from context menu (right-click menu). I can select planned work, half-done work, done work from contextmenu and my folder icon change according. Now I want to implement the same concept for individual files. I want to use Java to implement this solution in windows environment. Step 1: To add something in the context menu, the easiest way is to initiate a registry

Hide all desktop icons under Mac OS

牧云@^-^@ 提交于 2019-12-12 04:59:41
问题 I am looking for a way to show/hide desktop icons programmatically in objective-c under Mac OS X. Do you have any idea on how I can achieve this? Thanks for your help, Regards, 回答1: The Finder has a hidden preference for this. Set the value of CreateDesktop under com.apple.finder to kCFBooleanFalse , then kill the Finder. To put the desktop icons back, delete the CreateDesktop preference and kill the Finder again. Of course, this isn't a supported API feature; it could go away at any time.

Title for icon in actionbar is not shown

≯℡__Kan透↙ 提交于 2019-12-12 04:14:18
问题 Hi I want to add a icon with title to my actionbar, but only the icon is shown. I created this item: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/menu_save" android:icon="@android:drawable/ic_menu_save" android:title="@string/menu_save" android:showAsAction="ifRoom|withText"/> </menu> Anyone a idea? I also changed ifRoom to always but still the same problem.. 回答1: That occurs in ICS, right? This appears to be

Notification Icon showing white on lollipop and above devices

孤人 提交于 2019-12-12 03:55:11
问题 I am using FCM for push notification and below is my code for generating a notification: Intent intent = new Intent(this, HomeActivity.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_ONE_SHOT); Notification.Builder notification; if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { notification = new Notification.Builder(this); } else { notification = new Notification.Builder

Update icon from older version with inno setup

大兔子大兔子 提交于 2019-12-12 03:45:09
问题 I installed my icon with Name: "{commondesktop}\TestApp {#VERSION}"; Filename: "{app}\TestApp.exe"; WorkingDir: "{app}"; IconFilename: "{app}\TestApp.ico"; and if I update my tool (checked in InitializeSetup()) the old icon is still available on desktop (old version number) and the new one also! Is there a flag to remove the icon if the tool will be updated and not uninstalled? thx 回答1: This is one of the reasons why you should generally not include the version number in your icon names. You

Center List in side a div

点点圈 提交于 2019-12-12 03:42:47
问题 I'm trying to center my list with images inside a div. This is what I'm getting (icons way too small and not centered). this is the css ive got and the html <div id="social"> <ul> <li><img src="img/footertwitter.png" alt="placeholder+image"></li> <li><img src="img/footerfacebook.png" alt="placeholder+image"></li> <li><img src="img/footeremail.png" alt="placeholder+image"></li> </ul> </div> #social { margin: 0 auto; text-align: center; width: 90%; max-width: 1140px; position: relative; }

Website Bookmark/ Shortcut Icon for Android Help. Cant get passed standard ribbon icon

大兔子大兔子 提交于 2019-12-12 02:55:54
问题 I have a website with a mobile version and I am trying to get it so that when someone chooses to Bookmark the website or 'Add to home screen' it will save an Icon to the home screen. I have an Android Samsung Galaxy S3 and no matter what I try I cannot get it to use the icon instead of the standard ribbon with tiny preview in the middle. Currently..The below code will get it to display the standard ribbon with tiny preview of favicon image but will not display the entire icon: <link rel="icon

jQuery-UI Button Set Initial Icon

我与影子孤独终老i 提交于 2019-12-12 02:52:48
问题 I have the following jQuery script to transform a checkbox into a jQuery-UI button and set up the icons to be displayed. It also changes the icon when the button is clicked. It all works fine. However I cannot seem to hit on the correct syntax to set the initial icon based on the initial checked state of the checkbox. function setCheckBoxImages() { $(".check-box-image").button({ icons: { primary: 'ui-icon-check' }, text: false }).change(function () { $(this).button("option", { icons: {

Skinnable Windows Forms App: Handle different icon sets

帅比萌擦擦* 提交于 2019-12-12 02:48:01
问题 When we started, we put all icons inside a folder in source control, and all Windows Forms projects reference icons inside that folder from their .resx file. Now that we decided to have different-looking GUIs, we created two more icon sets, all with same names, each into its own folder, so that when we want to use a different one, we just copy and paste into the "main" folder. The problem with this approach is source control: whenever we commit, we must be careful not to send our icons, if we