I'm getting this error:
Error in ==> APP>pushbutton2_Callback at 109
img=imread(FileName)
When I try to use FileName in pushbutton2_Callback I'm getting the error mentioned
FileName is variable in pushbutton1_Callback.
...
Hey, can someone please show me how i can write the output of OnCreateFile to a GUI? I thought the GUI would have to be declared at the bottom in the main function, so how do i then refer to it within OnCreateFile?
using System;
using System.Collections.Generic;
using System.Runtime.Remoting;
using System.Text;
using System.Diagnostics;...
So I'm continuing my fight with this : http://stackoverflow.com/questions/2923545/creating-java-dialogs/2926126 task. Now my JOptionPane opens new window with envelope overfiew, but I can't change size of this window. Also I wanted to have sender's data in upper left corner, and receiver's data in bottom right. How can I achieve that ?
T...
We could not make the VB6.0 checkbox as a transparent one. Can you suggest me how to make check box as a transparent?
I searched internet and many sources indicates that checkbox cannot be made as transparent.
...
Using C++/CLI and Windows Forms, I'm trying to make a simple scrollable list of labelled text controls as a way of displaying some data fields. I'm having trouble making a TableLayoutPanel scrollable - every combination of properties I've tried seems to result in some really peculiar side effects.
So I have two questions:
Is this the ...
class Program
{
static String ChannelName = null;
static Form1 f;
static void Main()
{
f = new Form1();
f.Show();
try
{
MY CODE WHICH CALLS INTO ANOTHER CLASS BUT CANNOT PASS THE GUI INSTANCE AS
IT USES REMOTING
}
}
}
I know this isnt the best/normal w...
Hi! Here is a challenging question!
Let me first tell you my scenario how am i implementing a solution to a problem.
I am reading a log file and displaying it on the JTextArea. Log file is cp037 character coded. I was reading each file as a byte stream or byte array from the log file & displaying it. Anyways, i managed to display the t...
I am currently prototyping a line of business application for the company I work for. It will be web based written in ASP.Net.
I am looking for some web application UI examples to give me some creative ideas to jump start the UI design and layout.
More info...
Case management, task management with work flow, basic accounting features ...
Is there a technical limitation of what kind of programs I can write with assembler (NASM)?
For now I've only seem some program that do arithmetic operations, like adding two numbers.
Is it possible to write complex assembler programs, that provide a GUI, access the file system, plays sounds et cetera?
I know I wouldn't write such pr...
Hello,
focused items == selected items but selected items != focused items.
Have you ever wondered about that?
Do you specially style the backcolor of a focused/selected item ?
I ask this question because a user has an enabled button because some customer items are
selected. The user is wondering now "why the heck can I delete this ...
How can I get rid of the gradient at the top of my screen (the very top of the blue in the screenshot below... below the notification bar)?
...
Why my JFrame 'frame' is diplaying empty window, when it should give me 3 menu buttons and my own painted JComponent below ? What am I missing here ?
import java.awt.*;
import javax.swing.*;
public class Eyes extends JFrame {
public static void main(String[] args) {
final JFrame frame = new JFrame("Eyes");
frame.se...
How can I control what happens with window after clicking JOPtionPane buttons ? I'm trying to implement simple file chooser. In my frame I have 3 buttons (OK, Cancel, Browse). Browse button opens file search window, and after picking files should return to main frame. Clicking OK will open a frame with the content of the file. Now porble...
As a freelancer, and previous Adobe trainer, I get a look-in at many development workflows and alternate styles of programming and design and therefore quite open to different workflows. But a recent post I had, I needed to use SQL - so I whipped out navicat and wrote a nice join statement.
I had sniggering comments and sideways glance...
When you create a menu bar, a funny line appears underneath (for XP and Win7 at least). How can I get rid of this line? I know that some applications, such as Firefox and Thunderbird, have done so.
Here's an illustration:
I am programming in C, using the Windows API. My menu is loaded from a resource file.
...
Hi All,
I want an Open File Dialog with *.class ,*.jar filters.
I want that *.jar files will be treated as folders (pressing OK or double-click should display the jar file content [ *.class] ). This capability is very similar to the TotalCommander archive plugin that let you browse inside archive files in-place (without the need to extr...
Hi,
I know that this is probably a simple problem but I am new to Matlab GUI's and basically want to get the old value which used to be stored in the text box to replace the value which has just been entered. E.g.
Text box contains a valid string,
User enters invalid string,
Callback func, validates input and realises new input is an ...
Hello. Currently I have a very basic file viewer working as follows :
- in JOptionPane I browse for files, and set some variables to display (colors, line connecting etc)
- previous windows loads a frame with drawn points
Code :
http://paste.pocoo.org/show/220066/
Now I'd like to throw it into one window, with JMenu for selecting files...
I'm in the progress of remaking one our products user interface to be more modern and apealing aswell as user friendly. It's a web based application that is used by all types of people. My question for you is what do you think are the key factors of a sexy interface? An interface that is appealing and leave the user with a WOW feeling?
...
I have referenced this previous question as well as other sources, but cannot get CountDownLatch to work correctly.
Background: mainFrame creates new Frame called dataEntryFrame. When dataEntryFrame "Submit" button is clicked, record added to database and dataEntryFrame disposed. At this point, mainFrame should clear and reload a jL...