Using Java and Swing, is there any (convenient) way to create a notification?
By notification, I mean something like:
, ,
or
(Is there a more correct term for that?). It would be nice if it worked cross-platform, but I'm mainly concerned with it working under Ubuntu with Gnome. If at all possible, I would like to avoid having an...
I have a jDialog with a splitter inside it.
One side has a tree while the other side has a frame. Whenever I use setVisible(false) to hide the frame, the splitter resizes to filled the entire screen with the tree.
Is there anyway to keep the tree side of the splitter the same size whether the frame is hidden or not?
...
Is there a method to uncheck a checkbox in a wx.CheckListBox as I need to implement an "uncheck all" button, can't seem to find anything... although there is number of methods for setting a checkbox/s.
...
Is there a way to outline android's TextView text?
...
I am interested in developing a cross-platform application (mostly for Windows and Mac, Linux not so much) that will need a somewhat, but not overly, complex GUI (displays of graphed data) and will also have to receive input from an external controller via USB. I am interested what languages or combinations of languages (or frameworks, o...
I have programmed in Java some and tried to use net-beans to create a user interface. I know only a little about the C languages, though, from what I understand creating a UI can be difficult. I mainly work with javascript now and find it a whole lot easier to get a functional application going. This is primarily because creating a GUI...
I have something like this:
class ADialog(wx.Dialog):
def __init__(self, parent, *args, **kwargs):
...
self.editor = APanel(parent=self)
...
...
class APanel(wx.Panel):
def CreatePanel(self, *args, **kwargs):
...
self.textCtrls = []
for (key, val) in zip(foo, bar):
...
Hi all
Is there a way to change ImageView drawable with its corresponding drawable for landscape mode without destroying the whole activity. I tried to set the drawable again in onConfigurationChanged callback but it doesn't work. Something like this
@Override
public void onConfigurationChanged(Configuration conf) {
super.onConfigu...
I've got a C++/CLI application which has a background thread. Every so often I'd like it to post it's results to the main GUI. I've read elsewhere on SO that MethodInvoker could work for this, but I'm struggling to convert the syntax from C# to C++:
void UpdateProcessorTemperatures(array<float>^ temperatures)
{
MethodInv...
I tried with threads, but android throws "CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.".
So how can I wait 3 seconds and then hide the view, letting the GUI responsive?
--
A Timer uses another thread either, so it will not solve..
...
Is there any way to change the page of a wxNotebook or wxChoicebook programmatically? Looking at the documentation I would have thought that wxChoicebook::ChangeSelection was the way to go, or wxChoicebook::SetSelection if I want the page changing/changed events to be sent. However, I don't know what these functions expect as input. T...
I'm writing a Swing application that needs to function either as an applet in a browser or as a standalone application, i.e. it may be contained in either a JFrame or a JApplet.
In this context, I'd like to display a custom modal dialog box to the user (i.e. a complex dialog with a custom layout and logic, not just one of the simple JOp...
I am not good with GUIs or User Interfaces in Java.
Would a Border or JPanel be good for something like the image below?
So, what would be the best option for me? Thank you.
...
I've heard of unit testing, and written some tests myself just as tests but never used any testing frameworks. Now I'm writing a wxPython GUI for some in-house data analysis/visualisation libraries. I've read some of the obvious Google results, like http://wiki.wxpython.org/Unit%20Testing%20with%20wxPython and its link http://pywinauto.o...
It's encouraging that Shoes (the Ruby GUI framework) has excellent packaging functionality, but I'm concerned that it doesn't actually 'wrap' itself around created applications. Packaging for OSX outputs a shoes installer and a shoes file in a .app system. Is there any way that shoes could create a .app that contains shoes - that doesn't...
I'm trying to make a 4x5 Grid within a JPanel that is on a BORDERLAYOUT in EAST... soo here is pic:
Here is the code:
setLayout( new BorderLayout() );
JPanel invOne = new JPanel(newGridLayout(4,5));
JPanel game = new JPanel();
add("Center",invOne);
add("East", game);
add("South", c);
for (int i = 0, j = 2...
My application's main JFrame contains a JTextPane. While it has focus, it consumes all keyboard shortcuts ("accelerators") instead of passing them on to the JFrame's JMenu. This means that while it has focus, eg ctrl-n for "New Document" doesn't work.
Obviously it's useful that it handles ctrl-A/C/V/X correctly for select all/copy/paste...
I created a custom dialog page in wix and it has a text box. I want to disable the next button of the installer if the text box is empty end enable it if the user has typed a value. The following code works partially. It does not disable the next button but it does not navigate to the next page unless you fill the value. The problem I ha...
I get the impression that a lot of GUI parameters, when using NetBeans, can only be set using the palette. Anyway, I have a method bound to the event of clicking on a JMenu, that prompts for a password and, if authenticated, enables all the JMenuItems on that JMenu, otherwise, it leaves them disabled.
So I set each JMenuItem to be disa...
I want to subclass wx.Dialog to get a little more functionality than is provided by the wx.MessageDialog class but I would still like to be able to use the native windows icons (ie the ones used in the wx.MessageDialog that can be set by the flags such as wx.ICON_ERROR etc.. )
Is there anyway to access these?
Update:
Thanks to steven ...