about-box

Netbeans template AboutBox Java

主宰稳场 提交于 2020-01-06 20:00:01
问题 I used this code previously in netbeans 6.9.1 but it does not seem to work in 7.1.1, it underlines .getApplication() with the hint "cannot find symbol". How can I make this work again? JFrame mainFrame = TestProject.getApplication().getMainFrame(); AboutBox newAboutBox = new AboutBox(); newAboutBox.setLocationRelativeTo(mainFrame); TestProject.getApplication().show(newAboutBox); Here is a similar question, but the solution does not work. 回答1: Have you checked the static method getApplication(

Eclipse RCP 3.7 - feature icon in the about dialog does not apear

我只是一个虾纸丫 提交于 2020-01-04 05:25:11
问题 I followed this tutorial, but the feature icon does not apear in the about dialog. What could be the reason? I have created one feature-X-based product. I defined a plugin Y as feature X's branding plugin I added about.ini and an 32x32 px icon to the plugin. about.ini: aboutText=Dicke Alice featureImage=images/icons/icon_32x32.png 回答1: It looks like the feature's image will only show up after deployment, but not when started from IDE. 来源: https://stackoverflow.com/questions/11415139/eclipse

how to return to previous activity from about with a button click?

爱⌒轻易说出口 提交于 2019-12-24 03:27:36
问题 Im trying to return from the about dialog to the main activity by a button click: public class AboutActivity extends Activity implements OnClickListener{ @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.about); } @Override public void onClick(View arg0) { // TODO Auto-generated method stub SharedPreferences prefs = getSharedPreferences("com.example.tiocontas",MODE_PRIVATE); SharedPreferences.Editor prefsEditor = prefs

Visual Studio C++ how to display a dynamic message (i.e., string) in my About box?

老子叫甜甜 提交于 2019-12-13 05:36:56
问题 Should be trivial . . . when editing via the VS resource editor.... the tools/objects list only shows 'static text' and the create an event handler wizard has all fields and [next] button dimmed (disabled). I have a lovely About box -- it all works -- but instead of static text fields to display -- I want/need to display several lines (strings) of current runtime status info..... I just do know Visual Studio well enough (I'm using 2008). . . If any one has a simple example -- that really is

Xcode - Customize “About This App”

夙愿已清 提交于 2019-12-11 06:49:11
问题 How do I change the "About this app" window of an app in Xcode? I've made a little app, but I don't know how to change this little thing. Thank you for your help :D 回答1: In your MainMenu.xib, change to the target-action of the menu item "About myApp" to your custom action. Then in your action, you can do whatever you want. For example, you can display a window that you've either designed in a nib file or created programmatically. 来源: https://stackoverflow.com/questions/12156528/xcode

Problem on aboutBox() in java

允我心安 提交于 2019-12-11 04:38:33
问题 I'm developing a javadesktop application in Netbeans 6.9 and everything is perfect but...it gives me an error on this : @Action public void showAboutBox() { if (aboutBox == null) { JFrame mainFrame = Mp4App.getApplication().getMainFrame(); aboutBox = new mp4AboutBox(mainFrame); aboutBox.setLocationRelativeTo(mainFrame); } } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by

About Window or About Box in WPF 3.5 (VS2008)

谁都会走 提交于 2019-12-11 01:15:02
问题 I am looking for About Window for WPF VS2008. Any Source code is available to download or one have to develop on his/her own. Thanks you, Harsha 回答1: You might try this WPF About Box (CS). If you wish to dynamically get the version author etc. from Assembly, try this blog. 回答2: Just create a normal WPF Window and make it look like an about box (add text blocks for product name, version, copyright ...) There is nothing special about the WinForms about box, it's just a normal form preloaded

Eclipse 3.7 Indigo : “About dialog” error

允我心安 提交于 2019-12-10 20:31:25
问题 I recently upgraded my Eclipse 3.6 instance to 3.7. I wanted to view the Help -> About Eclipse option, but this dialog does not show up. Ran it with the -consoleLog -debug option to understand what could be going wrong. This is what I see, any thoughts? Btw, I have posted this question on the Eclipse Platform discussion forum too: http://www.eclipse.org/forums/index.php/m/692851/#msg_692851 kiran@skiran:~/code/dx-4.2.0$ ~/programs/open/eclipse/eclipse -consoleLog -debug Start VM: -Djava

Firefox Addon SDK - How to create an about: page

依然范特西╮ 提交于 2019-12-08 07:08:41
问题 I need to create an about: page, to display addon options. I have seen ti done before, but there seems to be no option in the SDK that allows you to do that. Is there another way I could let users type about: pagename and get to my page? I would prefer not to redirect all tabs with a URL of about:pagename to another options page. Thanks in advance 回答1: This is the index.js file for a restartless add-on developed using jpm : const { Cc, Ci, Cr, Cu, Cm, components } = require("chrome"); Cm

Firefox Addon SDK - How to create an about: page

百般思念 提交于 2019-12-07 00:08:31
I need to create an about: page, to display addon options. I have seen ti done before, but there seems to be no option in the SDK that allows you to do that. Is there another way I could let users type about: pagename and get to my page? I would prefer not to redirect all tabs with a URL of about:pagename to another options page. Thanks in advance This is the index.js file for a restartless add-on developed using jpm : const { Cc, Ci, Cr, Cu, Cm, components } = require("chrome"); Cm.QueryInterface(Ci.nsIComponentRegistrar); Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import(